This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 660
☂️ Rome classic lint rules, with scoping #2743
Milestone
Comments
ematipico
added
umbrella
Issue to track a collection of other issues
A-Linter
Area: linter
labels
Jun 20, 2022
ematipico
changed the title
☂️ Port old Rome lint rules, with scoping
☂️ Rome classic lint rules, with scoping
Jun 20, 2022
Some links are dead. |
Thank you! They should be fixed now |
@ematipico would you mind assigning me the task |
@ematipico , would you mind assigning me the task |
|
I will work on |
The rule |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Note
This rules should be implemented once #2488 is closed.
This is because in order to correctly implement the rule, there's need to have access to the scope.
If you want to contribute
List of rules that might require scoping resolution
noUnusedVariables
: https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/js/noUnusedVariables.mdnoArrayIndexKey
#3292noChildrenProp
#3267noDangerouslySetInnerHtml
#3204noDangerWithChildren
#3313DeprecatednoRedundantShouldComponentUpdate
: https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/react`/noRedundantShouldComponentUpdate.mdnoRenderReturnValue
#3248noUselessFragments
#3254noVoidElementsWithChildren
#3272useButtonType
#3233useFragmentSyntax
#3278too pedantic, not neededuseInterfaces
: https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/ts/useInterfaces.mdThis rule was removed from Rome classic. We should consider it with care
noArguments
: feature(rome_js_analyzer): semantic rules and "no arguments" lint rule #2807noImportAssign
: https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/js/noImportAssign.mdnoRestrictedGlobals
#3341useSimplifiedBooleanExpression
#3338noUndeclaredVariables
#3281noFindDOMNode
: https://github.com/rome/tools/blob/archived-js/website/src/docs/lint/rules/react/noFindDOMNode.mduseDefaultExportBasenameEnforce the name of the file and the name of the default function / class export matches
noSingleCharRegexAlternatives #2754(requires parsing of regex)useTsExpectErrorPrefer #2753useSortedSpecifiers #2755(might be implemented in the formatter)The text was updated successfully, but these errors were encountered: