@rotki/eslint-plugin 0.2.1 → 0.3.0
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/dist/index.cjs +10 -10
- package/dist/index.mjs +11 -11
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -23,8 +23,8 @@ const createDebug__default = /*#__PURE__*/_interopDefaultCompat(createDebug);
|
|
|
23
23
|
const compat__namespace = /*#__PURE__*/_interopNamespaceCompat(compat);
|
|
24
24
|
|
|
25
25
|
const name = "@rotki/eslint-plugin";
|
|
26
|
-
const version = "0.
|
|
27
|
-
const packageManager = "pnpm@8.
|
|
26
|
+
const version = "0.3.0";
|
|
27
|
+
const packageManager = "pnpm@8.15.0";
|
|
28
28
|
const type = "module";
|
|
29
29
|
const license = "AGPL-3.0";
|
|
30
30
|
const bugs = {
|
|
@@ -79,9 +79,9 @@ const dependencies = {
|
|
|
79
79
|
"yaml-eslint-parser": "1.2.2"
|
|
80
80
|
};
|
|
81
81
|
const devDependencies = {
|
|
82
|
-
"@commitlint/cli": "18.
|
|
83
|
-
"@commitlint/config-conventional": "18.
|
|
84
|
-
"@rotki/eslint-config": "2.4.
|
|
82
|
+
"@commitlint/cli": "18.6.0",
|
|
83
|
+
"@commitlint/config-conventional": "18.6.0",
|
|
84
|
+
"@rotki/eslint-config": "2.4.4",
|
|
85
85
|
"@types/debug": "4.1.12",
|
|
86
86
|
"@types/eslint": "8.56.2",
|
|
87
87
|
"@types/node": "20",
|
|
@@ -91,17 +91,17 @@ const devDependencies = {
|
|
|
91
91
|
bumpp: "9.3.0",
|
|
92
92
|
debug: "4.3.4",
|
|
93
93
|
eslint: "8.56.0",
|
|
94
|
-
husky: "
|
|
94
|
+
husky: "9.0.7",
|
|
95
95
|
"lint-staged": "15.2.0",
|
|
96
96
|
rimraf: "5.0.5",
|
|
97
97
|
"ts-node": "10.9.2",
|
|
98
98
|
typescript: "5.3.3",
|
|
99
99
|
unbuild: "2.0.0",
|
|
100
100
|
vitepress: "1.0.0-rc.40",
|
|
101
|
-
vitest: "1.2.
|
|
101
|
+
vitest: "1.2.2"
|
|
102
102
|
};
|
|
103
103
|
const engines = {
|
|
104
|
-
node: ">=
|
|
104
|
+
node: ">=20",
|
|
105
105
|
pnpm: ">=8 <9"
|
|
106
106
|
};
|
|
107
107
|
const pkg = {
|
|
@@ -447,7 +447,7 @@ const noDeprecatedComponents = createEslintRule({
|
|
|
447
447
|
debug$1(`${tag} has been deprecated`);
|
|
448
448
|
context.report({
|
|
449
449
|
data: {
|
|
450
|
-
name:
|
|
450
|
+
name: tag
|
|
451
451
|
},
|
|
452
452
|
messageId: "deprecated",
|
|
453
453
|
node: element
|
|
@@ -456,7 +456,7 @@ const noDeprecatedComponents = createEslintRule({
|
|
|
456
456
|
debug$1(`${tag} has will be removed`);
|
|
457
457
|
context.report({
|
|
458
458
|
data: {
|
|
459
|
-
name:
|
|
459
|
+
name: tag
|
|
460
460
|
},
|
|
461
461
|
fix(fixer) {
|
|
462
462
|
return [
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import createDebug from 'debug';
|
|
2
2
|
import { extname } from 'node:path';
|
|
3
3
|
import * as compat from 'eslint-compat-utils';
|
|
4
|
-
import { pascalCase,
|
|
4
|
+
import { pascalCase, kebabCase } from 'scule';
|
|
5
5
|
|
|
6
6
|
const name = "@rotki/eslint-plugin";
|
|
7
|
-
const version = "0.
|
|
8
|
-
const packageManager = "pnpm@8.
|
|
7
|
+
const version = "0.3.0";
|
|
8
|
+
const packageManager = "pnpm@8.15.0";
|
|
9
9
|
const type = "module";
|
|
10
10
|
const license = "AGPL-3.0";
|
|
11
11
|
const bugs = {
|
|
@@ -60,9 +60,9 @@ const dependencies = {
|
|
|
60
60
|
"yaml-eslint-parser": "1.2.2"
|
|
61
61
|
};
|
|
62
62
|
const devDependencies = {
|
|
63
|
-
"@commitlint/cli": "18.
|
|
64
|
-
"@commitlint/config-conventional": "18.
|
|
65
|
-
"@rotki/eslint-config": "2.4.
|
|
63
|
+
"@commitlint/cli": "18.6.0",
|
|
64
|
+
"@commitlint/config-conventional": "18.6.0",
|
|
65
|
+
"@rotki/eslint-config": "2.4.4",
|
|
66
66
|
"@types/debug": "4.1.12",
|
|
67
67
|
"@types/eslint": "8.56.2",
|
|
68
68
|
"@types/node": "20",
|
|
@@ -72,17 +72,17 @@ const devDependencies = {
|
|
|
72
72
|
bumpp: "9.3.0",
|
|
73
73
|
debug: "4.3.4",
|
|
74
74
|
eslint: "8.56.0",
|
|
75
|
-
husky: "
|
|
75
|
+
husky: "9.0.7",
|
|
76
76
|
"lint-staged": "15.2.0",
|
|
77
77
|
rimraf: "5.0.5",
|
|
78
78
|
"ts-node": "10.9.2",
|
|
79
79
|
typescript: "5.3.3",
|
|
80
80
|
unbuild: "2.0.0",
|
|
81
81
|
vitepress: "1.0.0-rc.40",
|
|
82
|
-
vitest: "1.2.
|
|
82
|
+
vitest: "1.2.2"
|
|
83
83
|
};
|
|
84
84
|
const engines = {
|
|
85
|
-
node: ">=
|
|
85
|
+
node: ">=20",
|
|
86
86
|
pnpm: ">=8 <9"
|
|
87
87
|
};
|
|
88
88
|
const pkg = {
|
|
@@ -428,7 +428,7 @@ const noDeprecatedComponents = createEslintRule({
|
|
|
428
428
|
debug$1(`${tag} has been deprecated`);
|
|
429
429
|
context.report({
|
|
430
430
|
data: {
|
|
431
|
-
name:
|
|
431
|
+
name: tag
|
|
432
432
|
},
|
|
433
433
|
messageId: "deprecated",
|
|
434
434
|
node: element
|
|
@@ -437,7 +437,7 @@ const noDeprecatedComponents = createEslintRule({
|
|
|
437
437
|
debug$1(`${tag} has will be removed`);
|
|
438
438
|
context.report({
|
|
439
439
|
data: {
|
|
440
|
-
name:
|
|
440
|
+
name: tag
|
|
441
441
|
},
|
|
442
442
|
fix(fixer) {
|
|
443
443
|
return [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rotki/eslint-plugin",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"packageManager": "pnpm@8.
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"packageManager": "pnpm@8.15.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"bugs": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"yaml-eslint-parser": "1.2.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@commitlint/cli": "18.
|
|
43
|
-
"@commitlint/config-conventional": "18.
|
|
44
|
-
"@rotki/eslint-config": "2.4.
|
|
42
|
+
"@commitlint/cli": "18.6.0",
|
|
43
|
+
"@commitlint/config-conventional": "18.6.0",
|
|
44
|
+
"@rotki/eslint-config": "2.4.4",
|
|
45
45
|
"@types/debug": "4.1.12",
|
|
46
46
|
"@types/eslint": "8.56.2",
|
|
47
47
|
"@types/node": "20",
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"bumpp": "9.3.0",
|
|
52
52
|
"debug": "4.3.4",
|
|
53
53
|
"eslint": "8.56.0",
|
|
54
|
-
"husky": "
|
|
54
|
+
"husky": "9.0.7",
|
|
55
55
|
"lint-staged": "15.2.0",
|
|
56
56
|
"rimraf": "5.0.5",
|
|
57
57
|
"ts-node": "10.9.2",
|
|
58
58
|
"typescript": "5.3.3",
|
|
59
59
|
"unbuild": "2.0.0",
|
|
60
60
|
"vitepress": "1.0.0-rc.40",
|
|
61
|
-
"vitest": "1.2.
|
|
61
|
+
"vitest": "1.2.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": ">=
|
|
64
|
+
"node": ">=20",
|
|
65
65
|
"pnpm": ">=8 <9"
|
|
66
66
|
},
|
|
67
67
|
"lint-staged": {
|