eslint-config-qb
v1.1.1
Published
Custom configuration for eslint
Downloads
4
Maintainers
Readme
eslint-config-qb
Custom configuration for eslint.
Usage
- Install
npm i -D eslint-config-qb
- Add in eslint config
extends: ['qb']
.
Target
- ES6,
- Nodejs,
- browser.
Objectives
- as strict as possible,
- simple and easy to understand code,
- no tricks,
- no hacks.
Updating
- Rules defined at https://eslint.org/docs/latest/rules/
- Use script
src/extract.js
in Chrome dev tools and copy results to./src/extracted.json
. - Run
npm run update
to update theindex.json
file.
TODO
- overrides for test files and other
Ideas
- https://github.com/SonarSource/eslint-plugin-sonarjs
- https://github.com/mysticatea/eslint-plugin-node
- https://github.com/eslint-community/eslint-plugin-promise
- https://github.com/dustinspecker/awesome-eslint