Files
frost-navigation/.eslintrc.js

27 lines
758 B
JavaScript
Raw Permalink Normal View History

// const isProduction = (process.env.NODE_ENV === 'production');
2021-05-22 18:13:49 +08:00
module.exports = {
root: true,
env: {
node: true,
2021-05-22 18:13:49 +08:00
},
extends: [
'plugin:vue/recommended',
'eslint:recommended',
2021-05-22 18:13:49 +08:00
],
parserOptions: {
parser: '@babel/eslint-parser',
2021-05-22 18:13:49 +08:00
},
rules: {
// 'no-console': (isProduction ? 'warn' : 'off'),
// 'no-debugger': (isProduction ? 'warn' : 'off'),
2021-05-22 18:13:49 +08:00
'vue/html-closing-bracket-newline': 'off',
'vue/html-indent': 'off',
'vue/html-self-closing': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multiline-html-element-content-newline': 'off',
2021-11-07 11:52:41 +08:00
'vue/no-v-html': 'off',
'vue/singleline-html-element-content-newline': 'off',
2021-05-22 18:13:49 +08:00
}
};