@plumile/eslint-config-typescript 0.1.32 → 0.1.34
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/index.js +26 -3
- package/package.json +21 -5
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -63,4 +63,4 @@ Because the package exports an array of config objects, you can spread it and ap
|
|
|
63
63
|
|
|
64
64
|
- Prettier runs separately via `npm run prettier:apply`.
|
|
65
65
|
- Husky + lint-staged invoke Prettier before commits; ESLint runs through `npm run eslint`.
|
|
66
|
-
- See [`AGENTS.md`](
|
|
66
|
+
- See [`AGENTS.md`](https://gitlab.com/plumile/js/-/blob/main/AGENTS.md) for contributor workflow expectations.
|
package/index.js
CHANGED
|
@@ -13,7 +13,6 @@ export default [
|
|
|
13
13
|
{
|
|
14
14
|
ignores: [
|
|
15
15
|
// Common ignores
|
|
16
|
-
'.storybook/**',
|
|
17
16
|
'**/__generated__/**',
|
|
18
17
|
'**/__mocks__/**',
|
|
19
18
|
'**/__snapshots__/**',
|
|
@@ -26,7 +25,6 @@ export default [
|
|
|
26
25
|
'**/packages/**/lib/**',
|
|
27
26
|
'**/pino-pretty.config.js',
|
|
28
27
|
'**/schema/**',
|
|
29
|
-
'**/storybook-static/**',
|
|
30
28
|
'**/.docusaurus/**',
|
|
31
29
|
'/website/**',
|
|
32
30
|
'/.build-*/**',
|
|
@@ -1450,7 +1448,6 @@ export default [
|
|
|
1450
1448
|
'@typescript-eslint/no-unsafe-call': 0,
|
|
1451
1449
|
},
|
|
1452
1450
|
},
|
|
1453
|
-
// Additional for storybook files
|
|
1454
1451
|
{
|
|
1455
1452
|
files: ['stories/**'],
|
|
1456
1453
|
rules: {
|
|
@@ -1458,4 +1455,30 @@ export default [
|
|
|
1458
1455
|
'arrow-body-style': 0,
|
|
1459
1456
|
},
|
|
1460
1457
|
},
|
|
1458
|
+
{
|
|
1459
|
+
files: [
|
|
1460
|
+
'**/__tests__/**/*.{ts,tsx,js,jsx}',
|
|
1461
|
+
'**/?(*.)+(spec|test).{ts,tsx,js,jsx}',
|
|
1462
|
+
],
|
|
1463
|
+
rules: {
|
|
1464
|
+
'arrow-body-style': 'off',
|
|
1465
|
+
'func-style': 'off',
|
|
1466
|
+
'no-ternary': 'off',
|
|
1467
|
+
'no-promise-executor-return': 'off',
|
|
1468
|
+
'no-duplicate-imports': 'off',
|
|
1469
|
+
'@typescript-eslint/promise-function-async': 'off',
|
|
1470
|
+
'@typescript-eslint/no-floating-promises': 'off',
|
|
1471
|
+
'@typescript-eslint/only-throw-error': 'off',
|
|
1472
|
+
'@typescript-eslint/no-confusing-void-expression': 'off',
|
|
1473
|
+
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
1474
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
1475
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
1476
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
|
|
1477
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
1478
|
+
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
1479
|
+
'@typescript-eslint/unbound-method': 'off',
|
|
1480
|
+
'jsdoc/require-jsdoc': 'off',
|
|
1481
|
+
'prefer-destructuring': 'off',
|
|
1482
|
+
},
|
|
1483
|
+
},
|
|
1461
1484
|
];
|
package/package.json
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Olivier Hardy <olivier@plumile.com>",
|
|
3
3
|
"name": "@plumile/eslint-config-typescript",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "
|
|
6
|
-
"main": "index.js",
|
|
4
|
+
"version": "0.1.34",
|
|
5
|
+
"description": "Shared ESLint flat config tuned for TypeScript-forward React projects",
|
|
7
6
|
"type": "module",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "index.js",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"build:package": "./tools/build-package.sh",
|
|
10
11
|
"check:build-package": "tsc --noEmit",
|
|
11
12
|
"test:build-package": "./tools/test-build-package.sh"
|
|
12
13
|
},
|
|
14
|
+
"homepage": "https://gitlab.com/plumile/js/-/tree/main/packages/eslint-config-typescript",
|
|
13
15
|
"repository": {
|
|
14
16
|
"type": "git",
|
|
15
|
-
"url": "https://gitlab.com/plumile/js"
|
|
17
|
+
"url": "https://gitlab.com/plumile/js",
|
|
18
|
+
"directory": "packages/eslint-config-typescript"
|
|
16
19
|
},
|
|
17
20
|
"bugs": {
|
|
18
21
|
"url": "https://gitlab.com/plumile/js/-/issues"
|
|
19
22
|
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"eslint",
|
|
25
|
+
"config",
|
|
26
|
+
"typescript",
|
|
27
|
+
"react"
|
|
28
|
+
],
|
|
20
29
|
"engines": {
|
|
21
30
|
"node": ">=21.0.0",
|
|
22
31
|
"npm": ">=8.0.0"
|
|
@@ -45,8 +54,15 @@
|
|
|
45
54
|
"eslint-plugin-react-hooks": "7.0.0",
|
|
46
55
|
"eslint-plugin-sonarjs": ">=3.0.5"
|
|
47
56
|
},
|
|
57
|
+
"files": [
|
|
58
|
+
"index.js",
|
|
59
|
+
"src",
|
|
60
|
+
"README.md",
|
|
61
|
+
"CHANGELOG.md",
|
|
62
|
+
"LICENSE"
|
|
63
|
+
],
|
|
48
64
|
"publishConfig": {
|
|
49
65
|
"access": "public"
|
|
50
66
|
},
|
|
51
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "8b1bdfc1fab5f2d65ec39ffdcecc66529948bc78"
|
|
52
68
|
}
|