My ESLint shareable config so that you can write JavaScript in the same style that I do. Check out the contents of the config file here: eslintrc.json
Install using the following npm
command:
npm install eslint @jsejcksn/eslint-config --save-dev
Add the following to your project's existing .eslintrc.json
file:
{
"extends": "@jsejcksn"
}
or, if you don't have one yet: instead of generating it using eslint --init
, you can use
printf "{\n \"extends\": \"@jsejcksn\"\n}\n" > .eslintrc.json