1
0
Fork 0
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:
Knut Ahlers 2019-08-16 23:29:50 +02:00
parent 14a098a037
commit abeac1852e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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': {