eslint-config-standard-ye
v1.1.1
Published
Bear web's ESLint config
Maintainers
Readme
eslint-config-standard-ye
eslint config for ye
Installation
You'll first need to install ESLint:
$ yarn i -D eslintNext, install eslint-config-standard-ye:
$ yarn i -D eslint-config-standard-ye eslint-config-standard-ye-tsNote: 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'))
};