@croct/eslint-plugin 0.6.4 → 0.6.5

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.
@@ -210,6 +210,7 @@ export declare const configs: {
210
210
  allowWholeFile: boolean;
211
211
  })[];
212
212
  'eslint-comments/require-description': string;
213
+ 'eslint-comments/no-unused-disable': string;
213
214
  'newline-per-chained-call': string;
214
215
  'no-plusplus': string;
215
216
  'array-bracket-newline': string[];
@@ -11,6 +11,7 @@ export declare const javascript: {
11
11
  allowWholeFile: boolean;
12
12
  })[];
13
13
  'eslint-comments/require-description': string;
14
+ 'eslint-comments/no-unused-disable': string;
14
15
  'newline-per-chained-call': string;
15
16
  'no-plusplus': string;
16
17
  'array-bracket-newline': string[];
@@ -28,6 +28,7 @@ exports.javascript = {
28
28
  },
29
29
  ],
30
30
  'eslint-comments/require-description': 'error',
31
+ 'eslint-comments/no-unused-disable': 'error',
31
32
  'newline-per-chained-call': 'off',
32
33
  'no-plusplus': 'off',
33
34
  'array-bracket-newline': [
package/index.d.ts CHANGED
@@ -243,6 +243,7 @@ declare const configuration: {
243
243
  allowWholeFile: boolean;
244
244
  })[];
245
245
  'eslint-comments/require-description': string;
246
+ 'eslint-comments/no-unused-disable': string;
246
247
  'newline-per-chained-call': string;
247
248
  'no-plusplus': string;
248
249
  'array-bracket-newline': string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/eslint-plugin",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "ESLint rules and presets applied to all Croct JavaScript projects.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -66,7 +66,7 @@
66
66
  "eslint-plugin-self": "^1.2.1",
67
67
  "jest": "^29.0.0",
68
68
  "ts-jest": "^29.0.0",
69
- "typescript": "^4.5"
69
+ "typescript": "^5.0.0"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@typescript-eslint/parser": ">= 5",
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.minChainedCallDepth = void 0;
4
- /*
5
- eslint-disable @typescript-eslint/no-non-null-assertion
6
- --
7
- Disable the rule to reduce the number of branches
8
- */
9
4
  const experimental_utils_1 = require("@typescript-eslint/experimental-utils");
10
5
  const ast_utils_1 = require("@typescript-eslint/utils/dist/ast-utils");
11
6
  const createRule_1 = require("../createRule");
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parameterDestructuring = void 0;
4
- /*
5
- eslint-disable @typescript-eslint/no-non-null-assertion
6
- --
7
- Disable the rule to reduce the number of branches
8
- */
9
4
  const types_1 = require("@typescript-eslint/types");
10
5
  const createRule_1 = require("../createRule");
11
6
  exports.parameterDestructuring = (0, createRule_1.createRule)({