eslint.config.js 358 B

1234567891011121314
  1. import antfu from "@antfu/eslint-config";
  2. export default antfu({
  3. react: true,
  4. rules: {
  5. "style/quotes": ["error", "double"],
  6. "style/semi": ["error", "always"],
  7. "style/indent": ["error", "tab"],
  8. "jsonc/indent": ["error", "tab"],
  9. "style/no-tabs": "off",
  10. "style/jsx-indent-props": ["error", "tab"],
  11. "react-hooks/exhaustive-deps": "off",
  12. },
  13. });