eslint-config-uln

5.4.0 • Public • Published

eslint-config-uln

Installation

  1. Installation

    TypeScript only

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

    JavaScript

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

    • javascript:
    module.exports = {
      "extends": [
        "uln"
      ],
      "ignorePatterns": [
      ]
    };
    • typescript:
    module.exports = {
      "extends": [
        "uln/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 main branch
  4. run npm publish
  5. after publication is completed make sure that everything is pushed to git
  6. merge main to develop
  7. done

Package Sidebar

Install

npm i eslint-config-uln

Weekly Downloads

1

Version

5.4.0

License

MIT

Unpacked Size

2.27 MB

Total Files

27

Last publish

Collaborators

  • ulanaxy