diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 4df12943..738e0a83 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,7 +16,7 @@ module.exports = { }, parserOptions: { parser: 'babel-eslint', - ecmaVersion: 8 + ecmaVersion: 6 }, extends: [ 'eslint:recommended', @@ -71,6 +71,8 @@ module.exports = { // es6 import/export and require 'node/no-unpublished-require': ['off'], 'node/no-unsupported-features/es-syntax': ['off'], + // kebab case components for vuejs + 'vue/component-name-in-template-casing': ['error', 'kebab-case'], // space before self-closing elements 'vue/html-closing-bracket-spacing': 'error', // no ending html tag on a new line |