What's this?
eslint configuration for some of my projects. You might not want to use this
(yet).
Install
When using mocha :coffee: :
npm install --save-dev eslint-plugin-mocha eslint-plugin-budapestian eslint-plugin-import eslint-plugin-node eslint-plugin-security eslint-plugin-unicorn@15 eslint-config-prettier eslint-config-moving-meadow
When using jest :black_joker: :
npm install --save-dev eslint-plugin-jest eslint-plugin-budapestian eslint-plugin-import eslint-plugin-node eslint-plugin-security eslint-plugin-unicorn@15 eslint-config-prettier eslint-config-moving-meadow
When using yarn
replace npm install --save-dev
with yarn add -D
- The @15 for unicorn is necessary because several of my projects still support
node 8 and eslint-plugin-unicorn > 15 doesn't anymore.
Features
Will automatically detect whether your project uses mocha
or jest
and will
apply either the eslint-plugin-mocha
or the eslint-plugin-jest
rules (or both
of them if your project uses both of them :open_mouth:).
Flare'n status section