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