0.4.0 • Published 5 years ago

eslint-config-inturn v0.4.0

Weekly downloads
10
License
MIT
Repository
-
Last release
5 years ago

eslint-config-inturn

This is a config that contains the linting rules used by developers for Inturn!

Installation

  1. Install the config itself.
# install the config itself
npm install --save-dev eslint-config-inturn
  1. If you haven't already, install install-peerdeps globally.
npm install -g install-peerdeps
  1. Install the peer dependencies of eslint-config-inturn.
install-peerdeps --dev eslint-config-inturn
  1. Create an .eslintrc file in the root directory of your project that looks like this:
// .eslintrc
{
  "extends": [
    'inturn'
  ]
}
  1. You can run the linter in your npm scripts like this:
"scripts": {
  "lint": "eslint ."
}