diff --git a/.eslintignore b/.eslintignore index 79f33703..948a3021 100644 --- a/.eslintignore +++ b/.eslintignore @@ -332,7 +332,6 @@ config/webpack/test.js lib/templates/rails/assets/javascript.js postcss.config.js setupTests.js -.eslintrc.js # old es files app/javascript/legacy/bank_accounts/confirm/index.es6 diff --git a/.eslintrc.js b/.eslintrc.js index f9659691..6fdf0945 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,23 +16,23 @@ module.exports = { 'eslint:recommended', 'plugin:@typescript-eslint/recommended', ] - }, - { - "files": ['**/*.spec.ts'], - parser: '@typescript-eslint/parser', - plugins: [ - '@typescript-eslint', - 'jest' - ], - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:jest/all' - ], - rules:{ - "jest/lowercase-name": ["error", { "ignore": ["describe"]}] - } - } + }, + { + "files": ['**/*.spec.ts'], + parser: '@typescript-eslint/parser', + plugins: [ + '@typescript-eslint', + 'jest' + ], + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:jest/all' + ], + rules:{ + "jest/lowercase-name": ["error", { "ignore": ["describe"]}] + } + } ], "rules": { "linebreak-style": [ @@ -42,8 +42,8 @@ module.exports = { "semi": [ "error", "always" - ], - "no-trailing-spaces": ["error"], - "indent": ["error", "tab"], // we use tabs for accessibility + ], + "no-trailing-spaces": ["error"], + "indent": ["error", "tab"], // we use tabs for accessibility } };