@telegraph-engineering/eslint-config-telegraph
v1.6.7
Published
Telegraph Engineering config for eslint
Downloads
2,891
Readme
eslint-config-telegraph
The Telegraph Engineering ESLint config.
Install
$ npm install @telegraph-engineering/eslint-config-telegraph --save-dev
Usage
Within your eslint config file You can extend this configuration. This will serve as a base for your config, then you can make overrides in your own config object.
{
"extends": "@telegraph-engineering/eslint-config-telegraph"
}
Rules
The different options for rules can be found on the ESLint website
Styleguide
Indentation
Indent your JavaScript with tabs. The default tab size should be set as 4.