aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-09-13 14:45:46 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-13 14:45:46 +0200
commit537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch)
treebc55447115e385137684e84697a8c15d2199b8d5 /.eslintrc
parentBumped up version to: 5.6.3-nightly.0 [skip ci] (diff)
downloadferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz
ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst
ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip
chore: upgrade intl dependencies (#1920)
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc31
1 files changed, 8 insertions, 23 deletions
diff --git a/.eslintrc b/.eslintrc
index 47811e7be..121f28eda 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -2,23 +2,16 @@
2 "root": true, 2 "root": true,
3 "parser": "@babel/eslint-parser", 3 "parser": "@babel/eslint-parser",
4 "extends": "eslint-config-airbnb", 4 "extends": "eslint-config-airbnb",
5 "plugins": [ 5 "plugins": ["jest"],
6 "jest"
7 ],
8 "overrides": [ 6 "overrides": [
9 { 7 {
10 "files": [ 8 "files": ["**/*.ts", "**/*.tsx"],
11 "**/*.ts",
12 "**/*.tsx"
13 ],
14 "env": { 9 "env": {
15 "browser": true, 10 "browser": true,
16 "es6": true, 11 "es6": true,
17 "node": true 12 "node": true
18 }, 13 },
19 "extends": [ 14 "extends": ["airbnb-typescript"],
20 "airbnb-typescript"
21 ],
22 "parser": "@typescript-eslint/parser", 15 "parser": "@typescript-eslint/parser",
23 "parserOptions": { 16 "parserOptions": {
24 "ecmaFeatures": { 17 "ecmaFeatures": {
@@ -28,9 +21,7 @@
28 "sourceType": "module", 21 "sourceType": "module",
29 "project": "./tsconfig.json" 22 "project": "./tsconfig.json"
30 }, 23 },
31 "plugins": [ 24 "plugins": ["@typescript-eslint"],
32 "@typescript-eslint"
33 ],
34 "rules": { 25 "rules": {
35 // eslint 26 // eslint
36 "arrow-parens": 0, 27 "arrow-parens": 0,
@@ -79,13 +70,9 @@
79 "jsx-a11y/label-has-for": [ 70 "jsx-a11y/label-has-for": [
80 2, 71 2,
81 { 72 {
82 "components": [ 73 "components": ["Label"],
83 "Label"
84 ],
85 "required": { 74 "required": {
86 "every": [ 75 "every": ["id"]
87 "id"
88 ]
89 }, 76 },
90 "allowChildren": false 77 "allowChildren": false
91 } 78 }
@@ -126,10 +113,7 @@
126 "no-console": [ 113 "no-console": [
127 1, 114 1,
128 { 115 {
129 "allow": [ 116 "allow": ["warn", "error"]
130 "warn",
131 "error"
132 ]
133 } 117 }
134 ], 118 ],
135 "no-param-reassign": 1, 119 "no-param-reassign": 1,
@@ -152,6 +136,7 @@
152 "react/jsx-no-bind": 1, 136 "react/jsx-no-bind": 1,
153 "react/jsx-props-no-spreading": 0, 137 "react/jsx-props-no-spreading": 0,
154 "react/prefer-stateless-function": 1, 138 "react/prefer-stateless-function": 1,
139 "react/prop-types": 0,
155 "react/static-property-placement": 0, 140 "react/static-property-placement": 0,
156 "react/state-in-constructor": 1, 141 "react/state-in-constructor": 1,
157 "react/sort-comp": 0, 142 "react/sort-comp": 0,