2020-08-27 17:18:57 +08:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
extends: [
|
2020-12-25 10:23:31 +08:00
|
|
|
'@webank/eslint-config-webank/vue.js'
|
2020-08-27 17:18:57 +08:00
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
// 这里填入你的项目需要的全局变量
|
|
|
|
// 这里值为 false 表示这个全局变量不允许被重新赋值,比如:
|
|
|
|
//
|
|
|
|
// Vue: false
|
2020-12-27 19:57:02 +08:00
|
|
|
__DEV__: false
|
2020-08-27 17:18:57 +08:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'vue/comment-directive': 'off',
|
2020-09-16 19:01:58 +08:00
|
|
|
'global-require': 'off',
|
2020-11-02 09:51:40 +08:00
|
|
|
'import/no-unresolved': 'off',
|
2021-01-22 17:43:38 +08:00
|
|
|
'no-restricted-syntax': 'off',
|
|
|
|
'no-undefined': 'off',
|
|
|
|
'vue/valid-template-root': 'off'
|
2021-02-08 19:21:30 +08:00
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
babelOptions: {
|
|
|
|
presets: ['@babel/preset-env']
|
|
|
|
}
|
2020-08-27 17:18:57 +08:00
|
|
|
}
|
|
|
|
};
|