@spartanbio/eslint-config
v1.2.0
Published
Spartan Bio's ESLint config
Downloads
72
Readme
Spartan Bio ESLint config
ESlint config used by Spartan Bio.
Usage
- Add this package its peer dependencies to
devDependencies
$ npx install-peerdeps --dev @spartanbio/eslint-config
- Add
.eslintrc.js
with the following:
module.exports = {
extends: ['@spartanbio'],
};
If using babel, use:
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
},
extends: ['@spartanbio'],
};