Skip to content

Commit

Permalink
build(deps): updated @typescript-eslint to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaPontrandolfo committed Dec 5, 2023
1 parent 01a60aa commit 6696603
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 67 deletions.
2 changes: 1 addition & 1 deletion apps/docs-website/docs/tsconfig-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you don't know much about `TSConfig` and you are uncertain, this can be a goo
"exclude": ["node_modules", "dist", "build", "coverage"], // this is already a good default. Generally you want to put here build artifacts. Some other possible build artifacts are: "artifacts", "lib"...
"compilerOptions": {
"target": "es6",
"module": "nodenext",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"jsx": "react-jsx",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-sheriff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"@eslint/js": "^8.49.0",
"@next/eslint-plugin-next": "^13.2.3",
"@regru/eslint-plugin-prefer-early-return": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"astro-eslint-parser": "^0.15.0",
"eslint": "8.53.0",
"eslint-config-prettier": "^9.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-sheriff/src/getReactConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ export const getReactConfig = (customTSConfigPath?: string | string[]) => {
rules: reactAccessibility.configs.recommended.rules,
},
{
files: [`**/*{${allJsxExtensions}}`],
files: [supportedFileTypes],
plugins: {
'react-hooks': reactHooks,
},
rules: reactHooks.configs.recommended.rules,
},
{
files: [`**/*{${allJsxExtensions}}`],
files: [supportedFileTypes],
plugins: {
fsecond,
},
Expand Down
Loading

0 comments on commit 6696603

Please sign in to comment.