@gewis/eslint-config-typescript 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/index.mjs +2 -1
- package/package.json +6 -7
package/README.md
CHANGED
@@ -10,10 +10,11 @@ yarn add @gewis/eslint-config-typescript --dev
|
|
10
10
|
```
|
11
11
|
|
12
12
|
## Configuration
|
13
|
+
|
13
14
|
In your ESLint configuration file, add the following:
|
14
15
|
|
15
16
|
```javascript
|
16
|
-
import
|
17
|
+
import { eslintConfig as common } from '@gewis/eslint-config-typescript';
|
17
18
|
|
18
19
|
export default [...common];
|
19
20
|
```
|
package/index.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import path from 'node:path';
|
2
2
|
import eslint from '@eslint/js';
|
3
|
-
// eslint-disable-next-line import/no-unresolved --
|
3
|
+
// eslint-disable-next-line import/no-unresolved -- import is resolved
|
4
4
|
import tsEslint from 'typescript-eslint';
|
5
5
|
import importPlugin from 'eslint-plugin-import';
|
6
6
|
|
@@ -57,4 +57,5 @@ const config = [
|
|
57
57
|
},
|
58
58
|
];
|
59
59
|
|
60
|
+
// eslint-disable-next-line import/prefer-default-export -- prefer named export here
|
60
61
|
export { config as eslintConfig };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gewis/eslint-config-typescript",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.2",
|
4
4
|
"description": "TypeScript ESLint configuration for GEWIS projects",
|
5
5
|
"homepage": "https://github.com/GEWIS/js-configs#readme",
|
6
6
|
"bugs": {
|
@@ -26,17 +26,16 @@
|
|
26
26
|
"README.md"
|
27
27
|
],
|
28
28
|
"dependencies": {
|
29
|
-
"@eslint/compat": "^1.2.
|
30
|
-
"@eslint/js": "
|
29
|
+
"@eslint/compat": "^1.2.6",
|
30
|
+
"@eslint/js": "9.20.0",
|
31
31
|
"@types/eslint__js": "^8.42.3",
|
32
|
-
"
|
33
|
-
"eslint-import-resolver-typescript": "^3.6.3",
|
32
|
+
"eslint-import-resolver-typescript": "^3.8.3",
|
34
33
|
"eslint-plugin-import": "^2.31.0",
|
35
|
-
"typescript-eslint": "^8.
|
34
|
+
"typescript-eslint": "^8.24.1"
|
36
35
|
},
|
37
36
|
"peerDependencies": {
|
38
37
|
"eslint": "*"
|
39
38
|
},
|
40
39
|
"packageManager": "yarn@4.5.1",
|
41
|
-
"gitHead": "
|
40
|
+
"gitHead": "928b61922c2c92a782ceee906876fd3974796d86"
|
42
41
|
}
|