eslint-config-antife-2
v2.0.0
Published
Eslint config for Ant international FE team
Downloads
2
Readme
eslint-config-antife
Eslint config for Ant international FE team
Usage
require eslint@5
For general project
$ npm i eslint --save-dev
$ npm i eslint-config-antife --save-dev
Add .eslintrc.js
in your root directory.
module.exports = {
extends: 'eslint-config-antife',
}
For Vue.js project
$ npm i eslint --save-dev
$ npm i eslint-config-antife --save-dev
$ npm i eslint-plugin-vue --save-dev
Add .eslintrc.js
in your root directory.
module.exports = {
extends: [
'eslint-config-antife',
'plugin:vue/recommended',
],
rules: {
// "vue/attributes-order": 0,
}
};
vue rules, please refer to https://eslint.vuejs.org/rules/
License
The MIT License (MIT)