1.6.1 • Published 3 years ago
@telegraph-engineering/eslint-config-telegraph v1.6.1
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.