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