@arnaud-barre/eslint-config
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -246,3 +246,6 @@ const { join } = require("path"); | ||
"warn", | ||
{ requireDefaultForNonUnion: true }, | ||
{ | ||
requireDefaultForNonUnion: true, | ||
allowDefaultCaseForExhaustiveSwitch: false, | ||
}, | ||
], | ||
@@ -249,0 +252,0 @@ "@typescript-eslint/unified-signatures": "warn", |
{ | ||
"name": "@arnaud-barre/eslint-config", | ||
"description": "TS-React focused eslint configuration", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"license": "MIT", | ||
@@ -17,3 +17,3 @@ "author": "Arnaud Barré (https://github.com/ArnaudBarre)", | ||
"peerDependencies": { | ||
"eslint": "^8.55.0", | ||
"eslint": "^8.56.0", | ||
"typescript": "^5.3" | ||
@@ -24,4 +24,4 @@ }, | ||
"@arnaud-barre/eslint-plugin-local": "^2.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.13.1", | ||
"@typescript-eslint/parser": "^6.13.1", | ||
"@typescript-eslint/eslint-plugin": "^6.17.0", | ||
"@typescript-eslint/parser": "^6.17.0", | ||
"confusing-browser-globals": "^1.0.11", | ||
@@ -28,0 +28,0 @@ "eslint-plugin-react-hooks": "^4.6.0", |
@@ -40,3 +40,2 @@ # eslint-config [![npm](https://img.shields.io/npm/v/@arnaud-barre/eslint-config)](https://www.npmjs.com/package/@arnaud-barre/eslint-config) | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"verbatimModuleSyntax": true, | ||
@@ -57,2 +56,17 @@ "noEmit": true, | ||
### For Node projects | ||
```json | ||
{ | ||
"include": ["**/*.ts"], | ||
"compilerOptions": { | ||
"target": "ES2022", | ||
"module": "ESNext", | ||
"lib": ["ES2022"] | ||
/* ... */ | ||
} | ||
} | ||
``` | ||
## Adding local rules | ||
@@ -59,0 +73,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16287
321
102