UNPKG

@atomicsmash/eslint-config

Version:

An ESLint config made by Atomic Smash.

28 lines (26 loc) 474 B
/** @type {import('eslint').Linter.Config} */ // const OFF = 0; const WARN = 1; // const ERROR = 2; const config = { extends: [ "plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:react-hooks/recommended", "plugin:jsx-a11y/recommended", ], settings: { react: { version: "detect", }, }, rules: { "react-hooks/exhaustive-deps": [ WARN, { additionalHooks: "(useSelect|useSuspenseSelect)", }, ], }, }; module.exports = config;