Disabled no-unescaped-entities, because it throws warnings on ' usage in text, because typographically it's not an apostrophe
This commit is contained in:
parent
edfbf370c6
commit
8a31ff21b8
|
@ -65,7 +65,7 @@ script:
|
||||||
- cd monkey_island/cc/ui
|
- cd monkey_island/cc/ui
|
||||||
- npm ci # See https://docs.npmjs.com/cli/ci.html
|
- npm ci # See https://docs.npmjs.com/cli/ci.html
|
||||||
- eslint ./src --quiet # Test for errors
|
- eslint ./src --quiet # Test for errors
|
||||||
- JS_WARNINGS_AMOUNT_UPPER_LIMIT=90
|
- JS_WARNINGS_AMOUNT_UPPER_LIMIT=70
|
||||||
- eslint ./src --max-warnings $JS_WARNINGS_AMOUNT_UPPER_LIMIT # Test for max warnings
|
- eslint ./src --max-warnings $JS_WARNINGS_AMOUNT_UPPER_LIMIT # Test for max warnings
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
"react/jsx-uses-vars": 1,
|
"react/jsx-uses-vars": 1,
|
||||||
"react/jsx-key": 1,
|
"react/jsx-key": 1,
|
||||||
"react/prop-types": 0,
|
"react/prop-types": 0,
|
||||||
"react/no-unescaped-entities": 1,
|
"react/no-unescaped-entities": 0,
|
||||||
"react/no-unknown-property": [1, { "ignore": ["class"] }],
|
"react/no-unknown-property": [1, { "ignore": ["class"] }],
|
||||||
"react/no-string-refs": 1,
|
"react/no-string-refs": 1,
|
||||||
"react/display-name": 1,
|
"react/display-name": 1,
|
||||||
|
|
Loading…
Reference in New Issue