@deloittesolutions/eslint-config-dttdev
v1.0.0
Published
> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for the Deloitte style guide
Downloads
7
Keywords
Readme
eslint-config-dttdev
ESLint shareable config for the Deloitte style guide
Install
Install the profile with npm
:
npm i -D eslint @deloittesolutions/eslint-config-dttdev
Create an .eslintrc
file at the root of your project:
{
"extends": "@deloittesolutions/eslint-config-dttdev"
}
Usage
Angular
Some of the default presets don't fit to angular apps. To override these settings, you've to create an .eslintrc
file at the root of your angular app:
{
"extends": "@deloittesolutions/eslint-config-dttdev/angular"
}
Express
Some of the default presets don't fit to express apps. To override these settings, you've to create an .eslintrc
file at the root of your express app:
{
"extends": "@deloittesolutions/eslint-config-dttdev/express"
}
Mocha
Some of the default presets don't fit to mocha tests. To override these settings, you've to create an .eslintrc
file at the root of your test folder:
{
"extends": "@deloittesolutions/eslint-config-dttdev/mocha"
}