diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index c48735df..be234f81 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -38,9 +38,13 @@ module.exports = { 'no-tabs': 0, 'vue/html-indent': ['error', 'tab'], // only debug console - 'no-console': ['error', { 'allow': ['error', 'warn', 'debug'] }], + 'no-console': ['error', { allow: ['error', 'warn', 'debug'] }], // classes blocks - 'padded-blocks': ['error', { 'classes': 'always' }], + 'padded-blocks': ['error', { classes: 'always' }], + // always have the operator in front + 'operator-linebreak': ['error', 'before'], + // ternary on multiline + 'multiline-ternary': ['error', 'always-multiline'], // es6 import/export and require 'node/no-unpublished-require': ['off'], 'node/no-unsupported-features': ['off'], |