aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 5e6f754..cd682a8 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -9,6 +9,19 @@ module.exports = {
sourceType: 'module',
},
rules: {
+ 'arrow-body-style': ['error', 'as-needed'],
+ 'comma-dangle': [
+ 'error',
+ {
+ arrays: 'always-multiline',
+ exports: 'always-multiline',
+ imports: 'always-multiline',
+ objects: 'always-multiline',
+ functions: 'never',
+ },
+ ],
+ 'function-paren-newline': ['error', 'multiline-arguments'],
+ 'implicit-arrow-linebreak': 'off',
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'object-curly-newline': 'off',
'operator-linebreak': [