2019-12-15 19:37:10 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
2020-05-17 19:08:20 +02:00
|
|
|
* This file is part of eslint-config-vue which is released under MIT.
|
2019-12-15 19:37:10 +01:00
|
|
|
* See file 'LICENSE' for full license details.
|
2020-05-17 19:08:20 +02:00
|
|
|
* Created by Timo Hocker <timo@scode.ovh>, May 2020
|
2019-12-15 19:37:10 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
globals: {},
|
|
|
|
|
2020-04-06 08:38:26 +02:00
|
|
|
parser: 'vue-eslint-parser',
|
2019-12-15 19:37:10 +01:00
|
|
|
|
|
|
|
extends: [
|
2020-05-06 07:37:53 +02:00
|
|
|
'@sapphirecode/eslint-config-es6',
|
2020-04-06 08:38:26 +02:00
|
|
|
'plugin:vue/recommended'
|
2019-12-15 19:37:10 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
plugins: [
|
2020-04-06 08:38:26 +02:00
|
|
|
'eslint-plugin-vue'
|
2019-12-15 19:37:10 +01:00
|
|
|
],
|
|
|
|
|
2020-04-06 08:38:26 +02:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module',
|
|
|
|
parser: 'babel-eslint'
|
|
|
|
},
|
|
|
|
|
2019-12-15 19:37:10 +01:00
|
|
|
rules: {
|
2021-01-21 21:50:04 +01:00
|
|
|
'vue/prop-name-casing': ['error', 'snake_case']
|
2019-12-15 19:37:10 +01:00
|
|
|
}
|
|
|
|
}
|