diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-12-13 13:51:01 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-12-13 13:51:01 +0100 |
commit | 0a58b975a6591c3067cd264f7c0b226b11dd4f79 (patch) | |
tree | bdce0e1d670c4c9140e23b5e7947cb2b5144ac0c /.eslintrc.js | |
parent | b674d40a40b1c4c9d8e1ae6a8a1bea84d9da8928 (diff) |
Eslint config bump
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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 |