@akanjs/lint 1.0.7 → 1.0.8

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.
@@ -130,6 +130,8 @@ const eslintConfig = [
130
130
  "@typescript-eslint/only-throw-error": "off",
131
131
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
132
132
  "@typescript-eslint/prefer-promise-reject-errors": "off",
133
+ "@typescript-eslint/unbound-method": "off",
134
+ "@typescript-eslint/no-useless-default-assignment": "off",
133
135
  "@typescript-eslint/no-misused-promises": ["error", { checksVoidReturn: false }],
134
136
  "react/display-name": "off",
135
137
  "react-hooks/exhaustive-deps": "off",
@@ -98,6 +98,8 @@ const eslintConfig = [
98
98
  "@typescript-eslint/only-throw-error": "off",
99
99
  "@typescript-eslint/no-unsafe-enum-comparison": "off",
100
100
  "@typescript-eslint/prefer-promise-reject-errors": "off",
101
+ "@typescript-eslint/unbound-method": "off",
102
+ "@typescript-eslint/no-useless-default-assignment": "off",
101
103
  "@typescript-eslint/no-misused-promises": ["error", { checksVoidReturn: false }],
102
104
  "react/display-name": "off",
103
105
  "react-hooks/exhaustive-deps": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/lint",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -19,10 +19,10 @@
19
19
  "dependencies": {
20
20
  "@eslint/eslintrc": "^3.2.0",
21
21
  "@eslint/js": "9.19.0",
22
- "@typescript-eslint/eslint-plugin": "^8.29.1",
23
- "@typescript-eslint/parser": "^8.29.1",
24
- "@typescript-eslint/utils": "^8.29.1",
25
- "eslint": "^9.19.0",
22
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
23
+ "@typescript-eslint/parser": "^8.54.0",
24
+ "@typescript-eslint/utils": "^8.54.0",
25
+ "eslint": "^9.0.0",
26
26
  "eslint-config-airbnb-typescript": "^18.0.0",
27
27
  "eslint-config-next": "^15.1.3",
28
28
  "eslint-config-prettier": "9.1.0",
@@ -37,7 +37,7 @@
37
37
  "eslint-plugin-simple-import-sort": "^12.1.1",
38
38
  "eslint-plugin-unused-imports": "^4.1.4",
39
39
  "jsonc-eslint-parser": "^2.4.0",
40
- "typescript-eslint": "^8.20.0"
40
+ "typescript-eslint": "^8.54.0"
41
41
  },
42
42
  "exports": {
43
43
  ".": {
package/src/lintRule.d.ts CHANGED
@@ -1,8 +1,16 @@
1
1
  export declare const akanjsLint: {
2
2
  rules: {
3
- noImportExternalLibrary: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noImportExternalLibrary", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
4
- noImportClientFunctions: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noImportClientFunctions", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
5
- nonScalarPropsRestricted: import("@typescript-eslint/utils/ts-eslint").RuleModule<"nonScalarPropsRestricted", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
6
- useClientByFile: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noUseClient" | "forceUseClient", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
3
+ noImportExternalLibrary: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noImportExternalLibrary", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
4
+ name: string;
5
+ };
6
+ noImportClientFunctions: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noImportClientFunctions", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
7
+ name: string;
8
+ };
9
+ nonScalarPropsRestricted: import("@typescript-eslint/utils/ts-eslint").RuleModule<"nonScalarPropsRestricted", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
10
+ name: string;
11
+ };
12
+ useClientByFile: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noUseClient" | "forceUseClient", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
13
+ name: string;
14
+ };
7
15
  };
8
16
  };
@@ -1,2 +1,4 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- export declare const noImportClientFunctions: ESLintUtils.RuleModule<"noImportClientFunctions", [], unknown, ESLintUtils.RuleListener>;
2
+ export declare const noImportClientFunctions: ESLintUtils.RuleModule<"noImportClientFunctions", [], unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };
@@ -1,2 +1,4 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- export declare const noImportExternalLibrary: ESLintUtils.RuleModule<"noImportExternalLibrary", [], unknown, ESLintUtils.RuleListener>;
2
+ export declare const noImportExternalLibrary: ESLintUtils.RuleModule<"noImportExternalLibrary", [], unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };
@@ -1,2 +1,4 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- export declare const nonScalarPropsRestricted: ESLintUtils.RuleModule<"nonScalarPropsRestricted", [], unknown, ESLintUtils.RuleListener>;
2
+ export declare const nonScalarPropsRestricted: ESLintUtils.RuleModule<"nonScalarPropsRestricted", [], unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };
@@ -1,2 +1,4 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- export declare const useClientByFile: ESLintUtils.RuleModule<"noUseClient" | "forceUseClient", [], unknown, ESLintUtils.RuleListener>;
2
+ export declare const useClientByFile: ESLintUtils.RuleModule<"noUseClient" | "forceUseClient", [], unknown, ESLintUtils.RuleListener> & {
3
+ name: string;
4
+ };