Back to Resources
Laravel Reference

ESLint + Prettier Configuration

Production-ready ESLint dan Prettier config untuk React/Next.js projects dengan best practices

JSON 0 views

Code

{
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended",
    "plugin:react-hooks/recommended",
    "prettier"
  ],
  "plugins": ["react"],
  "rules": {
    "react/prop-types": "off",
    "react/react-in-jsx-scope": "off",
    "no-unused-vars": "warn",
    "no-console": "warn"
  },
  "settings": {
    "react": {
      "version": "detect"
    }
  }
}

Related Resources

Related resources feature coming soon