Skip to content

Commit

Permalink
mid commit lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Jul 17, 2024
1 parent a96f791 commit e208a99
Show file tree
Hide file tree
Showing 29 changed files with 3,366 additions and 492 deletions.
32 changes: 32 additions & 0 deletions example/react-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/eslint-config-react"],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
ignorePatterns: ["*.config.js", "*.eslintrc.js"],
rules: {
"@typescript-eslint/no-throw-literal": 0,
"no-case-declarations": 0,
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
jsx: "never",
ts: "never",
tsx: "never",
},
],
},
env: {
es2020: true,
browser: true,
node: true,
},
};
Loading

0 comments on commit e208a99

Please sign in to comment.