eslint-plugin-react-naming-convention 3.0.0-next.33 → 3.0.0-next.36
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/dist/index.js +5 -5
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const rules = {
|
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region package.json
|
|
41
41
|
var name = "eslint-plugin-react-naming-convention";
|
|
42
|
-
var version = "3.0.0-next.
|
|
42
|
+
var version = "3.0.0-next.36";
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/utils/create-rule.ts
|
|
@@ -49,7 +49,7 @@ function getDocsUrl(ruleName) {
|
|
|
49
49
|
const createRule = ESLintUtils.RuleCreator(getDocsUrl);
|
|
50
50
|
|
|
51
51
|
//#endregion
|
|
52
|
-
//#region src/rules/component-name.ts
|
|
52
|
+
//#region src/rules/component-name/component-name.ts
|
|
53
53
|
const defaultOptions = [{
|
|
54
54
|
allowAllCaps: false,
|
|
55
55
|
excepts: [],
|
|
@@ -144,7 +144,7 @@ function isValidName(name, options) {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
//#endregion
|
|
147
|
-
//#region src/rules/context-name.ts
|
|
147
|
+
//#region src/rules/context-name/context-name.ts
|
|
148
148
|
const RULE_NAME$2 = "context-name";
|
|
149
149
|
var context_name_default = createRule({
|
|
150
150
|
meta: {
|
|
@@ -180,7 +180,7 @@ function create$2(context) {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region src/rules/id-name.ts
|
|
183
|
+
//#region src/rules/id-name/id-name.ts
|
|
184
184
|
const RULE_NAME$1 = "id-name";
|
|
185
185
|
var id_name_default = createRule({
|
|
186
186
|
meta: {
|
|
@@ -214,7 +214,7 @@ function create$1(context) {
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
//#endregion
|
|
217
|
-
//#region src/rules/ref-name.ts
|
|
217
|
+
//#region src/rules/ref-name/ref-name.ts
|
|
218
218
|
const RULE_NAME = "ref-name";
|
|
219
219
|
var ref_name_default = createRule({
|
|
220
220
|
meta: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.36",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"compare-versions": "^6.1.1",
|
|
46
46
|
"string-ts": "^2.3.1",
|
|
47
47
|
"ts-pattern": "^5.9.0",
|
|
48
|
-
"@eslint-react/ast": "3.0.0-next.
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/shared": "3.0.0-next.
|
|
52
|
-
"@eslint-react/var": "3.0.0-next.
|
|
48
|
+
"@eslint-react/ast": "3.0.0-next.36",
|
|
49
|
+
"@eslint-react/eff": "3.0.0-next.36",
|
|
50
|
+
"@eslint-react/core": "3.0.0-next.36",
|
|
51
|
+
"@eslint-react/shared": "3.0.0-next.36",
|
|
52
|
+
"@eslint-react/var": "3.0.0-next.36"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.2.14",
|