Skip to content

Commit

Permalink
Move eslintrc to json for intellisense
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpetryk committed Oct 14, 2024
1 parent 9eb0c40 commit 3114e50
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
build
*.config.js
.eslintrc.js
37 changes: 0 additions & 37 deletions .eslintrc.cjs

This file was deleted.

37 changes: 37 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"prettier"
],
"rules": {
"react/prop-types": "off",
"react/no-unescaped-entities": "off",
"no-console": "error"
},
"overrides": [
{
"files": ["docs/**/*.tsx"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
}
},
{
"files": ["scripts/**/*"],
"rules": {
"no-console": "off"
}
}
],
"settings": {
"react": {
"version": "detect"
}
}
}

0 comments on commit 3114e50

Please sign in to comment.