eslint-config-wombat

5.0.0 • Public • Published

eslint-config-wombat

Installation

  1. Installation

    TypeScript only

    yarn add -D babel-eslint@~10.1.0 eslint@^7.5.0 eslint-config-wombat

    JavaScript

    yarn add -D babel-eslint@~10.1.0 eslint@^7.5.0 eslint-config-wombat
  2. create/update .eslintrc.js

    • javascript:
    module.exports = {
      "extends": [
        "wombat"
      ],
      "ignorePatterns": [
      ]
    };
    • typescript:
    module.exports = {
      "extends": [
        "wombat/typescript"
      ],
      "parserOptions": {
        project: ['./tsconfig.json'],
        tsconfigRootDir: __dirname,
      },
      "ignorePatterns": [
      ]
    };
  3. Add script to package.json

    "scripts": {
      ...
      "lint:js": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings=0",
    }  

Publishing

  1. Be repo Maintainer.
  2. Merging branch develop to master via Merge Request.
  3. Switch locally to master branch
  4. run yarn run createNewVersion
  5. Select new version
  6. after publication is completed make sure that everything is pushed to gitlab
  7. merge master to develop(without creating Merge Request)
  8. done

Package Sidebar

Install

npm i eslint-config-wombat

Weekly Downloads

2

Version

5.0.0

License

MIT

Unpacked Size

5.29 MB

Total Files

33

Last publish

Collaborators

  • commonwombat-user
  • ulanaxy