1.1.1 • Published 3 years ago
eslint-config-qb v1.1.1
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.jsin Chrome dev tools and copy results to./src/extracted.json. - Run
npm run updateto update theindex.jsonfile.
TODO
- overrides for test files and other