From 087113d8a1214ba4c7df03bfe66747d8d944280c Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Tue, 14 Sep 2021 11:03:28 +0200 Subject: chore: convert JS to TS (#1934) --- .eslintrc | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 121f28eda..26159ed87 100644 --- a/.eslintrc +++ b/.eslintrc @@ -2,16 +2,23 @@ "root": true, "parser": "@babel/eslint-parser", "extends": "eslint-config-airbnb", - "plugins": ["jest"], + "plugins": [ + "jest" + ], "overrides": [ { - "files": ["**/*.ts", "**/*.tsx"], + "files": [ + "**/*.ts", + "**/*.tsx" + ], "env": { "browser": true, "es6": true, "node": true }, - "extends": ["airbnb-typescript"], + "extends": [ + "airbnb-typescript" + ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { @@ -21,13 +28,16 @@ "sourceType": "module", "project": "./tsconfig.json" }, - "plugins": ["@typescript-eslint"], + "plugins": [ + "@typescript-eslint" + ], "rules": { // eslint "arrow-parens": 0, "array-callback-return": 1, "class-methods-use-this": 0, "consistent-return": 0, + "function-paren-newline": 0, "implicit-arrow-linebreak": 0, "linebreak-style": 0, "max-len": 0, @@ -70,9 +80,13 @@ "jsx-a11y/label-has-for": [ 2, { - "components": ["Label"], + "components": [ + "Label" + ], "required": { - "every": ["id"] + "every": [ + "id" + ] }, "allowChildren": false } @@ -113,7 +127,10 @@ "no-console": [ 1, { - "allow": ["warn", "error"] + "allow": [ + "warn", + "error" + ] } ], "no-param-reassign": 1, -- cgit v1.2.3-70-g09d2