-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
27 lines (27 loc) · 842 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential',
'@vue/standard'
],
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
ecmaVersion: 6,
emitWarning: true, // tried with and without this
emitError: false, // tried with and without this
failOnError: false, // tried with and without this
failOnWarning: false // tried with and without this
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'indent': ['error', 2],
'semi': [2, 'always'],
'space-before-function-paren': ['error', 'never'],
'quotes': ['error', 'single']
}
};