2
0

Change eslint config to autofix missing comma and indentation in JS files (#26711)

This commit is contained in:
Renaud Chaput
2023-10-09 13:38:29 +02:00
committed by GitHub
parent c310374a2f
commit 774e1189d2
19 changed files with 39 additions and 38 deletions

View File

@@ -9,7 +9,6 @@ module.exports = {
'plugin:import/recommended',
'plugin:promise/recommended',
'plugin:jsdoc/recommended',
'plugin:prettier/recommended',
],
env: {
@@ -63,7 +62,9 @@ module.exports = {
'consistent-return': 'error',
'dot-notation': 'error',
eqeqeq: ['error', 'always', { 'null': 'ignore' }],
'indent': ['error', 2],
'jsx-quotes': ['error', 'prefer-single'],
'semi': ['error', 'always'],
'no-case-declarations': 'off',
'no-catch-shadow': 'error',
'no-console': [