Skip to content

Commit

Permalink
feat: ✨ enable no-self-compare rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Nov 8, 2024
1 parent 53d3d8b commit 0359507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/javascript.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ exports[`should create javascript rules 1`] = `
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-setter-return": "error",
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
Expand Down
1 change: 1 addition & 0 deletions src/rules/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const javascriptRules = {
"arrow-body-style": ["error", "always"],
"curly": ["error", "all"],
"no-console": "warn",
"no-self-compare": "error",
"no-useless-rename": "error",
"object-shorthand": "error",
"prefer-arrow-callback": "error",
Expand Down

0 comments on commit 0359507

Please sign in to comment.