@akinon/eslint-plugin-projectzero 1.56.0-rc.3 → 1.56.0-rc.4
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 +8 -0
- package/configs/core.ts +1 -2
- package/dist/configs/core.js +1 -2
- package/dist/rules/index.js +3 -5
- package/package.json +1 -1
- package/rules/index.ts +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @akinon/eslint-plugin-projectzero
|
|
2
2
|
|
|
3
|
+
## 1.56.0-rc.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4d64ef7: ZERO-2611: Add check-sentry-options rule to eslint-plugin-projectzero
|
|
8
|
+
- 5a4c6076: ZERO-2764: Add case-warning rule to eslint-plugin-projectzero
|
|
9
|
+
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
10
|
+
|
|
3
11
|
## 1.56.0-rc.3
|
|
4
12
|
|
|
5
13
|
## 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
|
{
|
package/dist/configs/core.js
CHANGED
|
@@ -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
|
{
|
package/dist/rules/index.js
CHANGED
|
@@ -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-
|
|
32
|
-
'
|
|
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
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-
|
|
27
|
-
'
|
|
28
|
-
'check-sentry-options': checkSentryOptions
|
|
25
|
+
'check-sentry-options': checkSentryOptions,
|
|
26
|
+
'check-menu-depth': checkMenuDepth
|
|
29
27
|
};
|
|
30
28
|
|
|
31
29
|
export { rules };
|