@aiou/eslint-config 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3612,10 +3612,10 @@ const react = () => {
3612
3612
  "react-web-api": plugins["@eslint-react/web-api"]
3613
3613
  },
3614
3614
  rules: {
3615
- "react/prop-types": "off",
3616
- "react/no-unescaped-entities": "off",
3617
- "react/no-unknown-property": "off",
3618
- "react/jsx-boolean-value": ["error", "always"],
3615
+ ...pluginReact__default.default.configs["recommended-typescript"].rules,
3616
+ "react/no-prop-types": "error",
3617
+ "react-dom/no-unknown-property": "off",
3618
+ "react/avoid-shorthand-boolean": ["error", "always"],
3619
3619
  // https://github.com/ArnaudBarre/eslint-plugin-react-refresh
3620
3620
  "react-refresh/only-export-components": "warn"
3621
3621
  }
package/dist/index.mjs CHANGED
@@ -3582,10 +3582,10 @@ const react = () => {
3582
3582
  "react-web-api": plugins["@eslint-react/web-api"]
3583
3583
  },
3584
3584
  rules: {
3585
- "react/prop-types": "off",
3586
- "react/no-unescaped-entities": "off",
3587
- "react/no-unknown-property": "off",
3588
- "react/jsx-boolean-value": ["error", "always"],
3585
+ ...pluginReact.configs["recommended-typescript"].rules,
3586
+ "react/no-prop-types": "error",
3587
+ "react-dom/no-unknown-property": "off",
3588
+ "react/avoid-shorthand-boolean": ["error", "always"],
3589
3589
  // https://github.com/ArnaudBarre/eslint-plugin-react-refresh
3590
3590
  "react-refresh/only-export-components": "warn"
3591
3591
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiou/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "description": "eslint config for JW",
6
6
  "keywords": [],