選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

22 行
556 B

  1. module.exports = {
  2. root: true,
  3. env: { browser: true, es2020: true },
  4. extends: [
  5. "eslint:recommended",
  6. "plugin:react/recommended",
  7. "plugin:react/jsx-runtime",
  8. "plugin:react-hooks/recommended",
  9. ],
  10. ignorePatterns: ["dist", ".eslintrc.cjs"],
  11. parserOptions: { ecmaVersion: "latest", sourceType: "module" },
  12. settings: { react: { version: "18.2" } },
  13. plugins: ["react-refresh"],
  14. rules: {
  15. "react-refresh/only-export-components": [
  16. "warn",
  17. { allowConstantExport: true },
  18. ],
  19. "no-unused-vars": "off",
  20. },
  21. };