Skip to content

Commit

Permalink
v19.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eglove committed Nov 11, 2024
1 parent 4ea1d10 commit 4abbe0d
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 218 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
- 52 rules for **Astro**
- `import astroConfig from "@ethang/eslint-config/config.astro.js";`
- 52 rules from [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro)
- 74 rules for **React**
- 77 rules for **React**
- `import reactConfig from "@ethang/eslint-config/config.react.js";`
- 71 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
- 74 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
- 2 rules from [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks)
- 1 rules from [eslint-plugin-react-compiler](https://github.com/facebook/react/tree/main/compiler/packages/eslint-plugin-react-compiler)
- 18 rules for **Solid**
Expand Down
3 changes: 3 additions & 0 deletions config.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default tseslint.config({
"react/dom/no-namespace": "error",
"react/dom/no-render-return-value": "error",
"react/dom/no-script-url": "error",
"react/dom/no-unknown-property": "error",
"react/dom/no-unsafe-iframe-sandbox": "error",
"react/dom/no-unsafe-target-blank": "error",
"react/ensure-forward-ref-using-ref": "error",
Expand All @@ -44,6 +45,8 @@ export default tseslint.config({
"react/hooks-extra/no-unnecessary-use-callback": "error",
"react/hooks-extra/no-unnecessary-use-memo": "error",
"react/hooks-extra/prefer-use-state-lazy-initialization": "error",
"react/jsx-no-duplicate-props": "error",
"react/jsx-uses-vars": "error",
"react/naming-convention/component-name": "error",
"react/naming-convention/filename": ["error", { rule: "kebab-case" }],
"react/naming-convention/filename-extension": "error",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethang/eslint-config",
"version": "19.14.10",
"version": "19.15.0",
"repository": {
"url": "git+https://github.com/eglove/eslint-config-ethang.git"
},
Expand All @@ -14,7 +14,7 @@
},
"dependencies": {
"@cspell/eslint-plugin": "^8.16.0",
"@eslint-react/eslint-plugin": "^1.15.2",
"@eslint-react/eslint-plugin": "^1.16.1",
"@eslint/compat": "^1.2.2",
"@eslint/js": "^9.14.0",
"@eslint/json": "^0.6.0",
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"peerDependencies": {
"@cspell/eslint-plugin": "^8.16.0",
"@eslint-react/eslint-plugin": "^1.15.2",
"@eslint-react/eslint-plugin": "^1.16.1",
"@eslint/compat": "^1.2.2",
"@eslint/js": "^9.14.0",
"@eslint/json": "^0.6.0",
Expand Down
Loading

0 comments on commit 4abbe0d

Please sign in to comment.