eslint-config-inturn
v0.4.0
Published
an eslint config used by the development team at inturn
Downloads
27
Readme
eslint-config-inturn
This is a config that contains the linting rules used by developers for Inturn!
Installation
- Install the config itself.
# install the config itself
npm install --save-dev eslint-config-inturn
- If you haven't already, install
install-peerdeps
globally.
npm install -g install-peerdeps
- Install the peer dependencies of
eslint-config-inturn
.
install-peerdeps --dev eslint-config-inturn
- Create an
.eslintrc
file in the root directory of your project that looks like this:
// .eslintrc
{
"extends": [
'inturn'
]
}
- You can run the linter in your npm scripts like this:
"scripts": {
"lint": "eslint ."
}