@destination/eslint-config
v1.4.2
Published
Default ESLint config used by Destination
Downloads
214
Readme
Destination ESLint Config
Defines a set of rules used by ESLint to enforce our JS/TS coding standards.
This configuration uses the AirBnb style guide with a few tweaks.
Installation
yarn add @destination/eslint-config eslint --dev
Usage
Add the following to your project's ruleset e.g. in package.json
:
{
"eslint": {
"extends": "@destination/eslint-config"
}
}
Run eslint
as normal e.g.:
yarn eslint 'assets/**/*.{js,ts}'
License
Released under the MIT license