@open-xchange/linter-presets 0.7.0 → 0.7.1

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## `0.7.1` – 2024-Aug-30
4
+
5
+ - chore: bump dependencies
6
+
3
7
  ## `0.7.0` – 2024-Aug-27
4
8
 
5
9
  - added: (ESLint) rule `@typescript-eslint/no-deprecated`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "eslint-plugin-codeceptjs": "1.3.0",
38
38
  "eslint-plugin-eslint-plugin": "6.2.0",
39
39
  "eslint-plugin-import": "2.29.1",
40
- "eslint-plugin-jest": "28.8.0",
40
+ "eslint-plugin-jest": "28.8.1",
41
41
  "eslint-plugin-jest-dom": "5.4.0",
42
42
  "eslint-plugin-jsdoc": "50.2.2",
43
43
  "eslint-plugin-jsonc": "2.16.0",
@@ -63,7 +63,7 @@
63
63
  "typescript-eslint": "8.3.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@eslint/core": "0.4.0",
66
+ "@eslint/core": "0.5.0",
67
67
  "@types/confusing-browser-globals": "1.0.3",
68
68
  "@types/eslint__js": "8.42.3",
69
69
  "@types/picomatch": "3.0.1",
@@ -71,7 +71,7 @@
71
71
  "eslint": "9.9.1",
72
72
  "jest": "29.7.0",
73
73
  "rimraf": "6.0.1",
74
- "stylelint": "16.8.2",
74
+ "stylelint": "16.9.0",
75
75
  "typescript": "5.5.4"
76
76
  },
77
77
  "peerDependencies": {
@@ -1,17 +0,0 @@
1
-
2
- /**
3
- * @returns {string[]} A string array.
4
- */
5
- // eslint-disable-next-line @stylistic/space-before-function-paren
6
- export function f () {
7
- // eslint-disable-next-line @stylistic/quotes
8
- const str1 = 'abc';
9
- // eslint-disable-next-line @stylistic/semi
10
- const str2 = str1
11
- // eslint-disable-next-line @stylistic/indent
12
- return [
13
- str1,
14
- // eslint-disable-next-line @stylistic/comma-dangle
15
- str2
16
- ];
17
- }
@@ -1,28 +0,0 @@
1
-
2
- /**
3
- * @returns A string array.
4
- */
5
- // eslint-disable-next-line @stylistic/space-before-function-paren
6
- export function f (): string[] {
7
- // eslint-disable-next-line @stylistic/quotes
8
- const str1 = 'abc';
9
- // eslint-disable-next-line @stylistic/semi
10
- const str2 = str1
11
- // eslint-disable-next-line @stylistic/indent
12
- return [
13
- str1,
14
- // eslint-disable-next-line @stylistic/comma-dangle
15
- str2
16
- ];
17
- }
18
-
19
- export interface I {
20
- // eslint-disable-next-line @stylistic/member-delimiter-style
21
- a: string,
22
- // eslint-disable-next-line @stylistic/indent
23
- b: number;
24
- // eslint-disable-next-line @stylistic/quotes
25
- ['*']: boolean;
26
- // eslint-disable-next-line @stylistic/member-delimiter-style
27
- c: boolean
28
- }
@@ -1,9 +0,0 @@
1
-
2
- describe("test", () => {
3
- it("should work", () => {
4
- // eslint-disable-next-line jest/prefer-to-be
5
- expect(1).toEqual(1);
6
- // eslint-disable-next-line jest/prefer-to-have-length
7
- expect([].length).toBe(0);
8
- });
9
- });
@@ -1,29 +0,0 @@
1
-
2
- // eslint-disable-next-line env-project/no-amd-module-directive
3
- /// <amd-module name="file1"/>
4
-
5
- // valid static imports
6
- import "find-up";
7
- import "$/external/module";
8
- import "@/project1/generated";
9
-
10
- // eslint-disable-next-line env-project/no-invalid-modules
11
- import "invalid-package";
12
- // eslint-disable-next-line env-project/no-invalid-modules
13
- import "@/project1/invalid";
14
-
15
- // eslint-disable-next-line env-project/no-invalid-hierarchy
16
- import "@/project2/file2";
17
- // eslint-disable-next-line env-project/no-invalid-hierarchy
18
- import "@/project3/file3";
19
-
20
- // valid dynamic imports
21
- await import("find-up");
22
- await import("@/project1/generated");
23
- await import("@/project3/file3");
24
-
25
- // eslint-disable-next-line env-project/no-invalid-modules
26
- await import("invalid-package");
27
-
28
- // eslint-disable-next-line env-project/no-invalid-hierarchy
29
- await import("@/project2/file2");
@@ -1,2 +0,0 @@
1
-
2
- import "@/project1/file1";
@@ -1,3 +0,0 @@
1
-
2
- import "@/project1/file1";
3
- import "@/project2/file2";