Skip to content

Commit

Permalink
Add eslint-plugin-clsx (#5547)
Browse files Browse the repository at this point in the history
* Add eslint-plugin-clsx

* revert BoxProp change

* remove rule
  • Loading branch information
hussam-i-am authored Jan 15, 2025
1 parent 98b5456 commit 35dec2e
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'plugin:primer-react/recommended',
'plugin:import/typescript',
'plugin:ssr-friendly/recommended',
'plugin:clsx/recommended',
],
settings: {
react: {
Expand Down
197 changes: 196 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@typescript-eslint/parser": "^7.3.1",
"eslint": "8.56.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-clsx": "0.0.9",
"eslint-plugin-github": "5.0.2",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsx-a11y": "6.7.1",
Expand Down

0 comments on commit 35dec2e

Please sign in to comment.