Настройка eslint
This commit is contained in:
10
.eslintrc
10
.eslintrc
@@ -3,6 +3,7 @@
|
|||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
"plugin:vue/essential"
|
"plugin:vue/essential"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
@@ -14,6 +15,14 @@
|
|||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
|
"globals": {
|
||||||
|
"LM_OK": false,
|
||||||
|
"LM_INFO": false,
|
||||||
|
"LM_WARN": false,
|
||||||
|
"LM_ERR": false,
|
||||||
|
"LM_FATAL": false,
|
||||||
|
"LM_TOTAL": false
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"strict": 0,
|
"strict": 0,
|
||||||
"indent": [0, 4, {
|
"indent": [0, 4, {
|
||||||
@@ -31,5 +40,6 @@
|
|||||||
"ignoreComments": true,
|
"ignoreComments": true,
|
||||||
"ignoreUrls": true
|
"ignoreUrls": true
|
||||||
}],
|
}],
|
||||||
|
"no-console": off
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user