@agilebot/eslint-plugin 0.5.4 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +4 -10
- package/package.json +4 -5
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license @agilebot/eslint-plugin v0.5.
|
2
|
+
* @license @agilebot/eslint-plugin v0.5.6
|
3
3
|
*
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
5
5
|
*
|
@@ -34,8 +34,8 @@ function _interopNamespaceDefault(e) {
|
|
34
34
|
var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
|
35
35
|
var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path);
|
36
36
|
|
37
|
-
const rule
|
38
|
-
const compatRule
|
37
|
+
const rule = require('eslint-plugin-deprecation/dist/rules/deprecation')["default"];
|
38
|
+
const compatRule = compat.fixupRule(rule);
|
39
39
|
|
40
40
|
const docBaseUrl = 'https://github.com/sh-agilebot/frontend-toolkit/blob/master/packages/eslint-plugin/src/rules/';
|
41
41
|
const hasDocs = typeof ["enforce-mui-icon-alias","intl-id-missing","intl-id-prefix","intl-no-default","react-better-exhaustive-deps"] !== 'undefined' ?
|
@@ -2234,11 +2234,6 @@ var reactPreferSxProp = createRule({
|
|
2234
2234
|
}
|
2235
2235
|
});
|
2236
2236
|
|
2237
|
-
const pluginReactHooks = require('eslint-plugin-react-hooks');
|
2238
|
-
const rule = pluginReactHooks.rules['rules-of-hooks'];
|
2239
|
-
const compatRule = compat.fixupRule(rule);
|
2240
|
-
compatRule.meta.docs.recommended = false;
|
2241
|
-
|
2242
2237
|
function getBasicIdentifier(node) {
|
2243
2238
|
if (node.type === 'Identifier') {
|
2244
2239
|
return node.name;
|
@@ -2934,7 +2929,7 @@ var varNaming = createRule({
|
|
2934
2929
|
|
2935
2930
|
var ruleFiles = /*#__PURE__*/Object.freeze({
|
2936
2931
|
__proto__: null,
|
2937
|
-
rules_deprecation: compatRule
|
2932
|
+
rules_deprecation: compatRule,
|
2938
2933
|
rules_enforce_mui_icon_alias: enforceMuiIconAlias,
|
2939
2934
|
rules_import_monorepo: importMonorepo,
|
2940
2935
|
rules_intl_id_missing: intlIdMissing,
|
@@ -2950,7 +2945,6 @@ var ruleFiles = /*#__PURE__*/Object.freeze({
|
|
2950
2945
|
rules_react_hook_use_ref: reactHookUseRef,
|
2951
2946
|
rules_react_prefer_named_property_access: reactPreferNamedPropertyAccess,
|
2952
2947
|
rules_react_prefer_sx_prop: reactPreferSxProp,
|
2953
|
-
rules_react_rules_of_hooks: compatRule,
|
2954
2948
|
rules_tss_class_naming: tssClassNaming,
|
2955
2949
|
rules_tss_no_color_name: tssNoColorName,
|
2956
2950
|
rules_tss_no_color_value: tssNoColorValue,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@agilebot/eslint-plugin",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.6",
|
4
4
|
"description": "Agilebot's ESLint plugin",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -18,12 +18,11 @@
|
|
18
18
|
"node": "^18.18.0 || >=20.0.0"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@eslint/compat": "^1.
|
21
|
+
"@eslint/compat": "^1.2.1",
|
22
22
|
"@typescript-eslint/utils": "~8.7.0",
|
23
23
|
"eslint-plugin-deprecation": "^3.0.0",
|
24
|
-
"eslint-plugin-react": "^7.
|
25
|
-
"eslint-
|
26
|
-
"@agilebot/eslint-utils": "0.5.4"
|
24
|
+
"eslint-plugin-react": "^7.37.2",
|
25
|
+
"@agilebot/eslint-utils": "0.5.6"
|
27
26
|
},
|
28
27
|
"peerDependencies": {
|
29
28
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
|