Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 584 Bytes

README.md

File metadata and controls

28 lines (26 loc) · 584 Bytes

eslint-config-naat

Style rules for js code at NAAT

Installation

Add the package to your devDependencies:

npm install --save-dev git+https://github.com/neuroanatomy/eslint-config-naat eslint-plugin-import

If you are using yarn, do instead:

yarn add --dev git+https://github.com/neuroanatomy/eslint-config-naat eslint-plugin-import

Then add this to your .eslintrc.js file:

{
  "extends": [
    "naat"
  ]
}

Alternatively, for a new project, you can create an .eslintrc.js file containing only this:

module.exports = {
  "extends": ["naat"]
};