@akinon/eslint-plugin-projectzero 1.56.0-rc.3 → 1.56.0-rc.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @akinon/eslint-plugin-projectzero
2
2
 
3
+ ## 1.56.0-rc.5
4
+
5
+ ## 1.56.0-rc.4
6
+
7
+ ### Minor Changes
8
+
9
+ - 4d64ef7: ZERO-2611: Add check-sentry-options rule to eslint-plugin-projectzero
10
+ - 5a4c6076: ZERO-2764: Add case-warning rule to eslint-plugin-projectzero
11
+ - 64699d3: ZERO-2761: Fix invalid import for plugin module
12
+
3
13
  ## 1.56.0-rc.3
4
14
 
5
15
  ## 1.56.0-rc.2
package/configs/core.ts CHANGED
@@ -9,9 +9,8 @@ export default {
9
9
  '@akinon/projectzero/meta-data-import': 'error',
10
10
  '@akinon/projectzero/urls-without-slash': 'error',
11
11
  '@akinon/projectzero/invalid-imports': 'error',
12
- '@akinon/projectzero/check-menu-depth': 'error',
13
- '@akinon/projectzero/case-warning': 'warn',
14
12
  '@akinon/projectzero/check-sentry-options': 'error',
13
+ '@akinon/projectzero/check-menu-depth': 'error',
15
14
  'no-restricted-syntax': [
16
15
  'error',
17
16
  {
@@ -11,9 +11,8 @@ exports.default = {
11
11
  '@akinon/projectzero/meta-data-import': 'error',
12
12
  '@akinon/projectzero/urls-without-slash': 'error',
13
13
  '@akinon/projectzero/invalid-imports': 'error',
14
- '@akinon/projectzero/check-menu-depth': 'error',
15
- '@akinon/projectzero/case-warning': 'warn',
16
14
  '@akinon/projectzero/check-sentry-options': 'error',
15
+ '@akinon/projectzero/check-menu-depth': 'error',
17
16
  'no-restricted-syntax': [
18
17
  'error',
19
18
  {
@@ -14,9 +14,8 @@ const meta_data_import_1 = __importDefault(require("./meta-data-import"));
14
14
  const check_middleware_order_1 = __importDefault(require("./check-middleware-order"));
15
15
  const urls_without_slash_1 = __importDefault(require("./urls-without-slash"));
16
16
  const invalid_imports_1 = __importDefault(require("./invalid-imports"));
17
- const check_menu_depth_1 = __importDefault(require("./check-menu-depth"));
18
- const case_warning_1 = __importDefault(require("./case-warning"));
19
17
  const check_sentry_options_1 = __importDefault(require("./check-sentry-options"));
18
+ const check_menu_depth_1 = __importDefault(require("./check-menu-depth"));
20
19
  const rules = {
21
20
  'client-url': client_url_1.default,
22
21
  'image-import': image_import_1.default,
@@ -28,8 +27,7 @@ const rules = {
28
27
  'check-middleware-order': check_middleware_order_1.default,
29
28
  'urls-without-slash': urls_without_slash_1.default,
30
29
  'invalid-imports': invalid_imports_1.default,
31
- 'check-menu-depth': check_menu_depth_1.default,
32
- 'case-warning': case_warning_1.default,
33
- 'check-sentry-options': check_sentry_options_1.default
30
+ 'check-sentry-options': check_sentry_options_1.default,
31
+ 'check-menu-depth': check_menu_depth_1.default
34
32
  };
35
33
  exports.rules = rules;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/eslint-plugin-projectzero",
3
- "version": "1.56.0-rc.3",
3
+ "version": "1.56.0-rc.5",
4
4
  "private": false,
5
5
  "description": "ESLint plugin for Project Zero Next",
6
6
  "main": "dist/index.js",
package/rules/index.ts CHANGED
@@ -8,9 +8,8 @@ import metaDataImport from './meta-data-import';
8
8
  import checkMiddlewareOrder from './check-middleware-order';
9
9
  import urlsWithoutSlash from './urls-without-slash';
10
10
  import invalidImports from './invalid-imports';
11
- import checkMenuDepth from './check-menu-depth';
12
- import caseWarning from './case-warning';
13
11
  import checkSentryOptions from './check-sentry-options';
12
+ import checkMenuDepth from './check-menu-depth';
14
13
 
15
14
  const rules = {
16
15
  'client-url': clientUrl,
@@ -23,9 +22,8 @@ const rules = {
23
22
  'check-middleware-order': checkMiddlewareOrder,
24
23
  'urls-without-slash': urlsWithoutSlash,
25
24
  'invalid-imports': invalidImports,
26
- 'check-menu-depth': checkMenuDepth,
27
- 'case-warning': caseWarning,
28
- 'check-sentry-options': checkSentryOptions
25
+ 'check-sentry-options': checkSentryOptions,
26
+ 'check-menu-depth': checkMenuDepth
29
27
  };
30
28
 
31
29
  export { rules };