@open-xchange/linter-presets 0.8.11 → 0.8.13
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 +8 -0
- package/dist/eslint/config/ts.js +1 -1
- package/doc/eslint/README.md +1 -1
- package/doc/eslint/env/browser.md +1 -1
- package/doc/eslint/env/codecept.md +1 -1
- package/doc/eslint/env/eslint.md +1 -1
- package/doc/eslint/env/jest.md +1 -1
- package/doc/eslint/env/node.md +1 -1
- package/doc/eslint/env/project.md +1 -1
- package/doc/eslint/env/react.md +1 -1
- package/doc/eslint/env/tsconfig.md +1 -1
- package/doc/eslint/env/vitest.md +1 -1
- package/doc/stylelint/README.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `0.8.13` – 2024-Nov-08
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
|
|
7
|
+
## `0.8.12` – 2024-Nov-02
|
|
8
|
+
|
|
9
|
+
- fix: (ESLint) `@typescript-eslint/switch-exhaustiveness-check`: add option `considerDefaultExhaustiveForUnions`
|
|
10
|
+
|
|
3
11
|
## `0.8.11` – 2024-Nov-02
|
|
4
12
|
|
|
5
13
|
- chore: use semver ranges in dependencies
|
package/dist/eslint/config/ts.js
CHANGED
|
@@ -64,7 +64,7 @@ export default function ts() {
|
|
|
64
64
|
"@typescript-eslint/prefer-reduce-type-parameter": "off",
|
|
65
65
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
66
66
|
"@typescript-eslint/return-await": ["error", "always"],
|
|
67
|
-
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
67
|
+
"@typescript-eslint/switch-exhaustiveness-check": ["error", { considerDefaultExhaustiveForUnions: true }],
|
|
68
68
|
"@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
|
|
69
69
|
},
|
|
70
70
|
},
|
package/doc/eslint/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Generates standard configuration targeting the source files in the entire projec
|
|
|
26
26
|
#### `configure` Signature
|
|
27
27
|
|
|
28
28
|
```ts
|
|
29
|
-
function configure(options?: ConfigureOptions): Linter.
|
|
29
|
+
function configure(options?: ConfigureOptions): Linter.Config[]
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
#### `configure` Options
|
|
@@ -8,7 +8,7 @@ Creates configuration objects with global symbols and linter rules for E2E tests
|
|
|
8
8
|
## Signature
|
|
9
9
|
|
|
10
10
|
```ts
|
|
11
|
-
function codecept(options: EnvCodeceptOptions): Linter.
|
|
11
|
+
function codecept(options: EnvCodeceptOptions): Linter.Config[]
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Options
|
package/doc/eslint/env/eslint.md
CHANGED
package/doc/eslint/env/jest.md
CHANGED
package/doc/eslint/env/node.md
CHANGED
|
@@ -11,7 +11,7 @@ Creates configuration objects for custom project setup and module imports.
|
|
|
11
11
|
## Signature
|
|
12
12
|
|
|
13
13
|
```ts
|
|
14
|
-
function project(options: EnvProjectOptions): Linter.
|
|
14
|
+
function project(options: EnvProjectOptions): Linter.Config[]
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Options
|
package/doc/eslint/env/react.md
CHANGED
|
@@ -7,7 +7,7 @@ Usually, this environment preset should not be necessary, as the new [project se
|
|
|
7
7
|
## Signature
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
|
-
function tsconfig(options: EnvTSConfigOptions): Linter.
|
|
10
|
+
function tsconfig(options: EnvTSConfigOptions): Linter.Config[]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
package/doc/eslint/env/vitest.md
CHANGED
package/doc/stylelint/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Generates standard configuration targeting the source files in the entire projec
|
|
|
17
17
|
|
|
18
18
|
#### `configure` Signature
|
|
19
19
|
|
|
20
|
-
`function configure(options?: ConfigureOptions): Linter.
|
|
20
|
+
`function configure(options?: ConfigureOptions): Linter.Config[]`
|
|
21
21
|
|
|
22
22
|
#### `configure` Options
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.13",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
40
40
|
"eslint-plugin-eslint-plugin": "^6.3.1",
|
|
41
41
|
"eslint-plugin-import": "^2.31.0",
|
|
42
|
-
"eslint-plugin-jest": "^28.
|
|
42
|
+
"eslint-plugin-jest": "^28.9.0",
|
|
43
43
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
44
44
|
"eslint-plugin-jsdoc": "^50.4.3",
|
|
45
45
|
"eslint-plugin-jsonc": "^2.16.0",
|