1.1.1 • Published 6 years ago
eslint-config-standard-ye
Licence
MIT
Version
1.1.1
Deps
12
Size
5 kB
Vulns
0
Weekly
0
eslint-config-standard-ye
eslint config for ye
Installation
You'll first need to install ESLint:
$ yarn i -D eslint
Next, install eslint-config-standard-ye:
$ yarn i -D eslint-config-standard-ye eslint-config-standard-ye-ts
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-config-standard-ye globally.
Usage
Add eslint-config-standard-ye to the extends section of your .eslintrc.js configuration file.
It needs .eslintrc.js format config file
module.exports = {
extends: [
'standard-ye'
],
// eslint currently not support extends in overrids, so that use this hacking
// https://github.com/eslint/eslint/issues/8813
overrides: Object.assign({
files: ['**/*.ts', '**/*.tsx'],
}, require('eslint-config-standard-ye-ts'))
};