20 lines
497 B
JavaScript
20 lines
497 B
JavaScript
|
/* eslint-env node */
|
||
|
require('@rushstack/eslint-patch/modern-module-resolution')
|
||
|
|
||
|
module.exports = {
|
||
|
root: true,
|
||
|
'extends': [
|
||
|
'plugin:vue/vue3-essential',
|
||
|
'eslint:recommended',
|
||
|
'@vue/eslint-config-typescript',
|
||
|
'@vue/eslint-config-prettier/skip-formatting'
|
||
|
],
|
||
|
rules: {
|
||
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
||
|
},
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 'latest'
|
||
|
}
|
||
|
}
|