eslint-vue/index.js

32 lines
576 B
JavaScript
Raw Normal View History

2019-12-15 19:37:10 +01:00
/*
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of SCode-Eslint-Config which is released under BSD-3-Clause.
* See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, March 2020
*/
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-04-06 08:38:26 +02:00
'@scode/eslint-es6',
'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: {
2020-04-06 08:38:26 +02:00
'vue/prop-name-casing': ['error', 'snake_case']
2019-12-15 19:37:10 +01:00
}
}