aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorBrendan F <EpicWolverine@users.noreply.github.com>2023-05-14 23:12:27 -0700
committerBrendan F <EpicWolverine@users.noreply.github.com>2023-05-14 23:12:27 -0700
commit737344a72d23dc97b0d0e73cc4ab7fdffd0fbf49 (patch)
tree2a915b59ab29ac79012ca3345999d9e23562d1f9 /.eslintrc.js
parentb19a001171bd8197a30f397091d67eba5e4c1111 (diff)
Merge in react app code
From sluchajfun and youtube-heardle-template
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js45
1 files changed, 45 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..3fccc68
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,45 @@
+module.exports = {
+ env: {
+ browser: true,
+ es2021: true,
+ },
+ extends: [
+ "plugin:react/recommended",
+ "plugin:@typescript-eslint/recommended",
+ "plugin:import/errors",
+ "plugin:import/warnings",
+ "plugin:import/typescript",
+ ],
+ parser: "@typescript-eslint/parser",
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true,
+ },
+ ecmaVersion: "latest",
+ sourceType: "module",
+ },
+ plugins: ["react", "@typescript-eslint"],
+ rules: {
+ "no-console": [0],
+ "no-param-reassign": [0],
+ "no-else-return": [0],
+ "no-confusing-arrow": [0],
+ "no-prototype-builtins": [0],
+
+ // "prettier/prettier": [2],
+
+ "import/named": [0],
+ "import/first": [0],
+ "import/prefer-default-export": [0],
+ "import/no-extraneous-dependencies": [0],
+ "import/no-named-as-default": [0],
+ "import/namespace": [0],
+
+ "react/prop-types": [0],
+ "react/display-name": [0],
+
+ "@typescript-eslint/no-empty-interface": [0],
+
+ "@typescript-eslint/explicit-module-boundary-types": [0],
+ },
+};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage