eslint-config-uln
v5.4.0
Published
Recommended UlanaXY config for eslint
Downloads
3
Maintainers
Readme
eslint-config-uln
Installation
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
create/update .eslintrc.js
- javascript:
module.exports = { "extends": [ "uln" ], "ignorePatterns": [ ] };
- typescript:
module.exports = { "extends": [ "uln/typescript" ], "parserOptions": { project: ['./tsconfig.json'], tsconfigRootDir: __dirname, }, "ignorePatterns": [ ] };
Add script to package.json
"scripts": { "lint:js": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings=0", }
Publishing
- Be repo Maintainer.
- Merging branch develop to master via Merge Request.
- Switch locally to main branch
- run
npm publish
- after publication is completed make sure that everything is pushed to git
- merge main to develop
- done