mirror of
https://github.com/tenrok/vue-cron-editor-bootstrap.git
synced 2026-06-20 20:10:34 +03:00
26 lines
708 B
JavaScript
26 lines
708 B
JavaScript
const isProd = process.env.NODE_ENV === 'production'
|
|
|
|
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
parser: 'vue-eslint-parser',
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
},
|
|
extends: [
|
|
'plugin:vue/recommended',
|
|
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
|
|
],
|
|
rules: {
|
|
curly: 'warn',
|
|
'no-console': isProd ? 'error' : 'off',
|
|
'no-debugger': isProd ? 'error' : 'off',
|
|
'vue/max-attributes-per-line': 'off',
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
},
|
|
}
|