mirror of
https://github.com/Luzifer/mondash.git
synced 2024-11-09 16:10:01 +00:00
Update eslint config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
14a098a037
commit
abeac1852e
1 changed files with 2 additions and 5 deletions
|
@ -4,26 +4,23 @@ module.exports = {
|
||||||
'root': true,
|
'root': true,
|
||||||
'parserOptions': {
|
'parserOptions': {
|
||||||
parser: 'babel-eslint',
|
parser: 'babel-eslint',
|
||||||
sourceType: 'module',
|
|
||||||
},
|
},
|
||||||
'env': {
|
'env': {
|
||||||
node: true,
|
browser: true,
|
||||||
},
|
},
|
||||||
'extends': [
|
'extends': [
|
||||||
/*
|
/*
|
||||||
* https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
|
* https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
|
||||||
* consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
* consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
||||||
*/
|
*/
|
||||||
'plugin:vue/essential',
|
'plugin:vue/recommended',
|
||||||
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
|
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
],
|
],
|
||||||
// required to lint *.vue files
|
// required to lint *.vue files
|
||||||
'plugins': ['vue'],
|
'plugins': ['vue'],
|
||||||
'globals': {
|
'globals': {
|
||||||
locale: true,
|
|
||||||
process: true,
|
process: true,
|
||||||
version: true,
|
|
||||||
},
|
},
|
||||||
// add your custom rules here
|
// add your custom rules here
|
||||||
'rules': {
|
'rules': {
|
||||||
|
|
Loading…
Reference in a new issue