Skip to content

Commit

Permalink
made changes to .eslintrc.cjs, package.json, and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCS authored and miguelgrc committed Jan 16, 2024
1 parent 39cb311 commit 4902e0d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ module.exports = {
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
rules: {
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
},
settings: {
react: {
version: "detect",
},
},
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# ESLint
.eslintcache
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"react-dom": ">=18.2.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
"*.{ts,tsx,js,jsx}": "eslint --cache --fix",
"*.{ts,tsx,js,jsx,css,less,md,html}": "prettier --write"
}
}
}

0 comments on commit 4902e0d

Please sign in to comment.