@akinon/eslint-plugin-projectzero 2.0.152-rc.0 → 2.0.152-rc.2

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
  # @akinon/eslint-plugin-projectzero
2
2
 
3
+ ## 2.0.152-rc.2
4
+
5
+ ## 2.0.152-rc.1
6
+
3
7
  ## 2.0.152-rc.0
4
8
 
5
9
  ### Patch Changes
@@ -49,7 +49,8 @@ const getAllKeysFromObject = (obj, prefix = '') => {
49
49
  return result.concat(`${prefix}${key}`);
50
50
  }, []);
51
51
  };
52
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
52
+ // eslint-disable-next-line -eslint/no-explicit-any
53
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
53
54
  create(context) {
54
55
  return {
55
56
  CallExpression(node) {
@@ -93,3 +94,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
93
94
  },
94
95
  defaultOptions: []
95
96
  });
97
+ exports.default = rule;
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
4
  const types_1 = require("@typescript-eslint/types");
5
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
6
7
  create: function (context) {
7
8
  return {
8
9
  CallExpression(node) {
@@ -41,3 +42,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
41
42
  },
42
43
  defaultOptions: []
43
44
  });
45
+ exports.default = rule;
@@ -13,7 +13,8 @@ const correctOrder = [
13
13
  'withCompleteGpay',
14
14
  'withCompleteMasterpass'
15
15
  ];
16
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
16
+ // eslint-disable-next-line -eslint/no-explicit-any
17
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
17
18
  create(context) {
18
19
  return {
19
20
  CallExpression(node) {
@@ -55,3 +56,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
55
56
  },
56
57
  defaultOptions: []
57
58
  });
59
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  return {
7
8
  CallExpression(node) {
@@ -50,3 +51,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
50
51
  },
51
52
  defaultOptions: []
52
53
  });
54
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  if (!context.getFilename().includes('urls.ts')) {
7
8
  return {};
@@ -34,3 +35,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
34
35
  },
35
36
  defaultOptions: []
36
37
  });
38
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  if (context.getFilename().includes('components/image.tsx')) {
7
8
  return {};
@@ -35,3 +36,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
35
36
  },
36
37
  defaultOptions: []
37
38
  });
39
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  if (!context.getFilename().includes('akinon-next')) {
7
8
  return {};
@@ -35,3 +36,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
35
36
  },
36
37
  defaultOptions: []
37
38
  });
39
+ exports.default = rule;
@@ -35,7 +35,8 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const utils_1 = require("@typescript-eslint/utils");
37
37
  const path = __importStar(require("path"));
38
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
38
+ // eslint-disable-next-line -eslint/no-explicit-any
39
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
39
40
  create(context) {
40
41
  const currentFilePath = path.normalize(context.getFilename());
41
42
  const linkComponentPath = path.normalize(path.join('components', 'link.tsx'));
@@ -71,3 +72,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
71
72
  },
72
73
  defaultOptions: []
73
74
  });
75
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  return {
7
8
  ImportDeclaration(node) {
@@ -37,3 +38,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
37
38
  },
38
39
  defaultOptions: []
39
40
  });
41
+ exports.default = rule;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("@typescript-eslint/utils");
4
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
4
+ // eslint-disable-next-line -eslint/no-explicit-any
5
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
6
  create(context) {
6
7
  if (context.getFilename().includes('@akinon/next/hooks/use-router.ts')) {
7
8
  return {};
@@ -35,3 +36,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
35
36
  },
36
37
  defaultOptions: []
37
38
  });
39
+ exports.default = rule;
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const types_1 = require("@typescript-eslint/types");
4
4
  const utils_1 = require("@typescript-eslint/utils");
5
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
5
+ // eslint-disable-next-line -eslint/no-explicit-any
6
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
6
7
  create(context) {
7
8
  return {
8
9
  VariableDeclarator(node) {
@@ -45,3 +46,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
45
46
  },
46
47
  defaultOptions: []
47
48
  });
49
+ exports.default = rule;
@@ -4,7 +4,8 @@ const utils_1 = require("@typescript-eslint/utils");
4
4
  const URLS = [
5
5
  '/users/logout/'
6
6
  ];
7
- exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
7
+ // eslint-disable-next-line -eslint/no-explicit-any
8
+ const rule = utils_1.ESLintUtils.RuleCreator.withoutDocs({
8
9
  create(context) {
9
10
  if (!context.getFilename().includes('urls.ts')) {
10
11
  return {};
@@ -38,3 +39,4 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
38
39
  },
39
40
  defaultOptions: []
40
41
  });
42
+ exports.default = rule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/eslint-plugin-projectzero",
3
- "version": "2.0.152-rc.0",
3
+ "version": "2.0.152-rc.2",
4
4
  "private": false,
5
5
  "description": "ESLint plugin for Project Zero Next",
6
6
  "main": "dist/index.js",