Skip to content

Commit

Permalink
feat(build): improve ts definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Oct 12, 2024
1 parent dd6ecee commit 9b6008c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/__snapshots__/rules-generator.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ exports[`RulesGenerator > RulesGenerator generates rules correctly > byCategory
const styleRules = {
'rulename-with-mod': "off"
}
} as const
const correctnessRules = {
'@typescript-eslint/rulename-without-mod': "off"
}
} as const
export {
styleRules,
Expand All @@ -22,11 +22,11 @@ exports[`RulesGenerator > RulesGenerator generates rules correctly > byScope 1`]
const eslintRules = {
'rulename-with-mod': "off"
}
} as const
const typescriptRules = {
'@typescript-eslint/rulename-without-mod': "off"
}
} as const
export {
eslintRules,
Expand Down
6 changes: 6 additions & 0 deletions src/__snapshots__/rules-by-scope.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-duplicate-case": [
0,
],
"no-else-return": [
0,
],
"no-empty": [
0,
],
Expand Down Expand Up @@ -1040,6 +1043,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-this-before-super": [
0,
],
"no-throw-literal": [
0,
],
"no-trailing-spaces": [
0,
],
Expand Down

0 comments on commit 9b6008c

Please sign in to comment.