@rotki/eslint-plugin 1.1.0 → 1.2.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.d.mts CHANGED
@@ -114,4 +114,5 @@ type Rules = {
114
114
  [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>;
115
115
  };
116
116
 
117
- export { type RuleOptions, type Rules, _default as default };
117
+ export { _default as default };
118
+ export type { RuleOptions, Rules };
package/dist/index.d.ts CHANGED
@@ -114,4 +114,5 @@ type Rules = {
114
114
  [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>;
115
115
  };
116
116
 
117
- export { type RuleOptions, type Rules, _default as default };
117
+ export { _default as default };
118
+ export type { RuleOptions, Rules };
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import * as compat from 'eslint-compat-utils';
4
4
  import { extname } from 'node:path';
5
5
  import { pascalCase, kebabCase } from 'scule';
6
6
 
7
- const version = "1.1.0";
7
+ const version = "1.2.0";
8
8
  const pkg = {
9
9
  version: version};
10
10
 
@@ -97,13 +97,13 @@ function createRule({
97
97
  meta
98
98
  }) {
99
99
  return {
100
- create: (context) => {
100
+ create: ((context) => {
101
101
  const optionsWithDefault = context.options.map((options, index) => ({
102
102
  ...defaultOptions[index] || {},
103
103
  ...options || {}
104
104
  }));
105
105
  return create(context, optionsWithDefault);
106
- },
106
+ }),
107
107
  defaultOptions,
108
108
  meta
109
109
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotki/eslint-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "bugs": {
@@ -28,7 +28,7 @@
28
28
  "eslint": "^9.20.0"
29
29
  },
30
30
  "dependencies": {
31
- "@typescript-eslint/utils": "8.37.0",
31
+ "@typescript-eslint/utils": "8.40.0",
32
32
  "debug": "4.4.1",
33
33
  "eslint-compat-utils": "0.6.5",
34
34
  "jsonc-eslint-parser": "2.4.0",
@@ -39,23 +39,24 @@
39
39
  "devDependencies": {
40
40
  "@commitlint/cli": "19.8.1",
41
41
  "@commitlint/config-conventional": "19.8.1",
42
- "@rotki/eslint-config": "4.1.0",
42
+ "@rotki/eslint-config": "4.5.0",
43
+ "@rotki/eslint-plugin": "file:.",
43
44
  "@types/debug": "4.1.12",
44
- "@types/node": "22.16.4",
45
- "@typescript-eslint/eslint-plugin": "8.37.0",
46
- "@typescript-eslint/parser": "8.37.0",
47
- "@typescript-eslint/rule-tester": "8.37.0",
45
+ "@types/node": "22.17.2",
46
+ "@typescript-eslint/eslint-plugin": "8.40.0",
47
+ "@typescript-eslint/parser": "8.40.0",
48
+ "@typescript-eslint/rule-tester": "8.40.0",
48
49
  "@vitest/coverage-v8": "3.2.4",
49
- "bumpp": "10.2.0",
50
+ "bumpp": "10.2.3",
50
51
  "debug": "4.4.1",
51
- "eslint": "9.31.0",
52
+ "eslint": "9.33.0",
52
53
  "husky": "9.1.7",
53
- "lint-staged": "16.1.2",
54
+ "lint-staged": "16.1.5",
54
55
  "rimraf": "6.0.1",
55
- "tsx": "4.20.3",
56
- "typescript": "5.8.3",
57
- "unbuild": "3.5.0",
58
- "vitepress": "1.6.3",
56
+ "tsx": "4.20.4",
57
+ "typescript": "5.9.2",
58
+ "unbuild": "3.6.1",
59
+ "vitepress": "1.6.4",
59
60
  "vitest": "3.2.4"
60
61
  },
61
62
  "engines": {