/** * @fixable 表示此配置支持 --fix */ module.exports = { parserOptions: { ecmaVersion: 2017, sourceType: 'module', ecmaFeatures: { jsx: true, modules: true } }, env: { browser: true, node: true, commonjs: true, es6: true }, // 以当前目录为根目录,不再向上查找 .eslintrc.js root: true, rules: { // @fixable This rule enforces a consistent indentation style in