1.1.1 • Published 1 year ago

eslint-config-qb v1.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
1 year ago

eslint-config-qb

Custom configuration for eslint.

Usage

  1. Install npm i -D eslint-config-qb
  2. 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

  1. Rules defined at https://eslint.org/docs/latest/rules/
  2. Use script src/extract.js in Chrome dev tools and copy results to ./src/extracted.json.
  3. Run npm run update to update the index.json file.

TODO

  • overrides for test files and other

Ideas