Skip to content

Commit 322db5f

Browse files
authored
Bump eslint-config-amo to 6.1.0 (#13898)
1 parent eaf86eb commit 322db5f

File tree

5 files changed

+372
-232
lines changed

5 files changed

+372
-232
lines changed

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
}]
8989
},
9090
"settings": {
91+
"react": {
92+
"version": "detect"
93+
},
9194
"import/core-modules": [
9295
// This is a workaround for: https://github.com/benmosher/eslint-plugin-import/issues/793
9396
"redux-saga/effects",

.flowconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
.*/node_modules/stylelint
1010
.*/node_modules/@snyk/composer-lockfile-parser/.*
1111
.*/node_modules/resolve
12+
.*/node_modules/hermes-estree/.*
13+
.*/node_modules/hermes-parser/.*
1214

1315
[include]
1416

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
"css-loader": "^7.1.2",
279279
"css-minimizer-webpack-plugin": "^7.0.2",
280280
"eslint": "^8.57.0",
281-
"eslint-config-amo": "^5.10.0",
281+
"eslint-config-amo": "^6.1.0",
282282
"eslint-plugin-amo": "^2.3.0",
283283
"eslint-plugin-promise": "^7.2.1",
284284
"eslint-plugin-react": "^7.37.5",

src/amo/utils/errors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function render404IfConfigKeyIsFalse(
3434
throw new TypeError('configKey cannot be empty');
3535
}
3636

37+
// eslint-disable-next-line react/display-name
3738
return (Component: React.ComponentType<any>) => (props: mixed) => {
3839
if (!_config.get(configKey)) {
3940
log.debug(

0 commit comments

Comments
 (0)