# npm ...
npm install feup-lint --save-dev
# yarn ...
yarn add feup-lint -D
lint 规范集合配置文件
.eslintrc.js
module.exports = {
extends: [require.resolve('feup-lint/dist/eslint')],
rules: {
// your rules
},
};
.prettierrc.js
const figLint = require('feup-lint');
module.exports = {
...figLint.prettier,
};