
Some checks are pending
Actions / Litemall-all (11) (push) Waiting to run
Actions / Litemall-all (11.0.3) (push) Waiting to run
Actions / Litemall-all (8) (push) Waiting to run
Actions / Litemall-all (8.0.192) (push) Waiting to run
Actions / Litemall-admin (10.x) (push) Waiting to run
Actions / Litemall-admin (12.x) (push) Waiting to run
Actions / Litemall-admin (14.x) (push) Waiting to run
Actions / Litemall-vue (10.x) (push) Waiting to run
Actions / Litemall-vue (12.x) (push) Waiting to run
Actions / Litemall-vue (14.x) (push) Waiting to run
21 lines
612 B
JavaScript
21 lines
612 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
es6: true
|
|
},
|
|
// extends: ['plugin:vue/essential', '@vue/prettier'],
|
|
// rules: {
|
|
// camelcase: 'off',
|
|
// quotes: ['error', 'single'],
|
|
// indent: ['error', 2, { SwitchCase: 1 }],
|
|
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
// 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
// },
|
|
parserOptions: {
|
|
parser: 'babel-eslint',
|
|
ecmaVersion:"latest",//最新版,或者你需要的 ECMAScript 版本
|
|
sourceType:"module" // 允许使用 import/export 语句
|
|
}
|
|
};
|