Disabled no-unescaped-entities, because it throws warnings on ' usage in text, because typographically it's not an apostrophe

This commit is contained in:
VakarisZ 2020-06-25 11:33:28 +03:00
parent edfbf370c6
commit 8a31ff21b8
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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,