Skip to content

Commit

Permalink
refactor: nuke rule mover
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jan 31, 2025
1 parent b9a023e commit 38b2658
Show file tree
Hide file tree
Showing 31 changed files with 3,687 additions and 3,035 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,32 @@ snapshot_kind: text
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"security": {
"noDangerouslySetInnerHtml": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useButtonType": "off",
"useAnchorContent": "off",
"useValidAnchor": "off",
"useKeyWithClickEvents": "off",
"noAutofocus": "off",
"noLabelWithoutControl": "off",
"useSemanticElements": "off",
"useFocusableInteractive": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noShadowRestrictedNames": "off",
"noConfusingVoidType": "off",
"noArrayIndexKey": "off",
"noAssignInExpressions": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"useJsxKeyInIterable": "off"
},
"style": {
"noParameterAssign": "off",
"noUnusedTemplateLiteral": "off",
Expand All @@ -55,31 +81,6 @@ snapshot_kind: text
"useNumericLiterals": "error",
"useTemplate": "error",
"useEnumInitializers": "error"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noShadowRestrictedNames": "off",
"noConfusingVoidType": "off",
"noArrayIndexKey": "off",
"noAssignInExpressions": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useButtonType": "off",
"useAnchorContent": "off",
"useValidAnchor": "off",
"useKeyWithClickEvents": "off",
"noAutofocus": "off",
"noLabelWithoutControl": "off",
"useSemanticElements": "off",
"useFocusableInteractive": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"useJsxKeyInIterable": "off"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ snapshot_kind: text
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error"
},
"complexity": {
"useLiteralKeys": "off"
},
"nursery": {
"noRestrictedImports": {
"level": "error",
"options": {
"paths": {
"node:path": "Please use src/util/path.js instead.",
"path": "Please use src/util/path.js instead."
}
}
}
},
"style": {
"noParameterAssign": "off",
"useNodeAssertStrict": "error",
Expand All @@ -41,27 +60,14 @@ snapshot_kind: text
"useExponentiationOperator": "error",
"noUselessElse": "error",
"useSelfClosingElements": "error",
"useImportType": "error",
"useNumberNamespace": "error",
"useAsConstAssertion": "error",
"noUnusedTemplateLiteral": "error",
"useNumericLiterals": "error",
"useTemplate": "error",
"useEnumInitializers": "error"
},
"nursery": {
"noRestrictedImports": {
"level": "error",
"options": {
"paths": {
"node:path": "Please use src/util/path.js instead.",
"path": "Please use src/util/path.js instead."
}
}
}
},
"complexity": {
"useLiteralKeys": "off"
},
"suspicious": {
"noConsole": {
"level": "error",
Expand All @@ -70,10 +76,6 @@ snapshot_kind: text
}
},
"noExplicitAny": "off"
},
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error"
}
}
},
Expand Down
Loading

0 comments on commit 38b2658

Please sign in to comment.