From 04572a8e5081b1e4871e273cde9dbaaa44c52fe0 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 13 Mar 2024 21:43:44 +0000 Subject: structure: Create apps dir and copy tooling dir from t3-turbo repo --- tooling/eslint/react.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tooling/eslint/react.js (limited to 'tooling/eslint/react.js') diff --git a/tooling/eslint/react.js b/tooling/eslint/react.js new file mode 100644 index 00000000..618e1816 --- /dev/null +++ b/tooling/eslint/react.js @@ -0,0 +1,24 @@ +/** @type {import('eslint').Linter.Config} */ +const config = { + extends: [ + "plugin:react/recommended", + "plugin:react-hooks/recommended", + "plugin:jsx-a11y/recommended", + ], + rules: { + "react/prop-types": "off", + }, + globals: { + React: "writable", + }, + settings: { + react: { + version: "detect", + }, + }, + env: { + browser: true, + }, +}; + +module.exports = config; -- cgit v1.2.3-70-g09d2