-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* more (probably required) globals * implement new SonarJS rules * moved html rules and jsx rules to their own files * disallow variable name "_" * added react version to shut up a warn in the eslint logs
- Loading branch information
1 parent
395032d
commit daee38f
Showing
9 changed files
with
336 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"alt-text": "warn", | ||
"anchor-has-content": "warn", // Seems to not work | ||
"anchor-is-valid": "error", | ||
"label-has-associated-control": "warn", | ||
"media-has-caption": "warn", | ||
"mouse-events-a11y": "warn", | ||
"object-alt-content": "warn", | ||
"table-header": "warn", | ||
"table-header-reference": "warn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"jsx-key": "", | ||
"jsx-no-constructed-context-values": "", | ||
"jsx-no-useless-fragment": "", | ||
"no-array-index-key": "", | ||
"no-deprecated-react": "", | ||
"no-find-dom-node": "", | ||
"no-hook-setter-in-body": "", | ||
"no-uniq-key": "", | ||
"no-unknown-property": "", | ||
"no-unsafe": "", | ||
"no-unstable-nested-components": "", | ||
"no-useless-react-setstate": "", | ||
"rules-of-hooks": "", | ||
"sonar-jsx-no-leaked-render": "", | ||
"sonar-no-unused-class-component-methods": "", | ||
"sonar-prefer-read-only-props": "" | ||
} |
Oops, something went wrong.