eslint-plugin-react-naming-convention 1.19.0-next.4 → 1.20.0-next.0
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/README.md +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -38,9 +38,9 @@ export default [
|
|
|
38
38
|
|
|
39
39
|
## Rules
|
|
40
40
|
|
|
41
|
-
| Rule | Description |
|
|
42
|
-
| :------------------- | :----------------------------------------------------------------------------------------- | :-: | :-: |
|
|
43
|
-
| `component-name` | Enforces naming conventions for components. |
|
|
44
|
-
| `filename` | Enforces naming convention for JSX files. |
|
|
45
|
-
| `filename-extension` | Enforces consistent use of the JSX file extension. |
|
|
46
|
-
| `use-state` | Enforces destructuring and symmetric naming of `useState` hook value and setter variables. |
|
|
41
|
+
| Rule | Description | 💭 | |
|
|
42
|
+
| :------------------- | :----------------------------------------------------------------------------------------- | :-: | :-: |
|
|
43
|
+
| `component-name` | Enforces naming conventions for components. | | |
|
|
44
|
+
| `filename` | Enforces naming convention for JSX files. | | |
|
|
45
|
+
| `filename-extension` | Enforces consistent use of the JSX file extension. | | |
|
|
46
|
+
| `use-state` | Enforces destructuring and symmetric naming of `useState` hook value and setter variables. | | |
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
35
35
|
|
|
36
36
|
// package.json
|
|
37
37
|
var name = "eslint-plugin-react-naming-convention";
|
|
38
|
-
var version = "1.
|
|
38
|
+
var version = "1.20.0-next.0";
|
|
39
39
|
var createRule = shared.createRuleForPlugin("naming-convention");
|
|
40
40
|
|
|
41
41
|
// src/rules/component-name.ts
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { AST_NODE_TYPES } from '@typescript-eslint/types';
|
|
|
9
9
|
|
|
10
10
|
// package.json
|
|
11
11
|
var name = "eslint-plugin-react-naming-convention";
|
|
12
|
-
var version = "1.
|
|
12
|
+
var version = "1.20.0-next.0";
|
|
13
13
|
var createRule = createRuleForPlugin("naming-convention");
|
|
14
14
|
|
|
15
15
|
// src/rules/component-name.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0-next.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@typescript-eslint/types": "^8.18.0",
|
|
47
47
|
"@typescript-eslint/utils": "^8.18.0",
|
|
48
48
|
"ts-pattern": "^5.5.0",
|
|
49
|
-
"@eslint-react/ast": "1.
|
|
50
|
-
"@eslint-react/core": "1.
|
|
51
|
-
"@eslint-react/jsx": "1.
|
|
52
|
-
"@eslint-react/shared": "1.
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
49
|
+
"@eslint-react/ast": "1.20.0-next.0",
|
|
50
|
+
"@eslint-react/core": "1.20.0-next.0",
|
|
51
|
+
"@eslint-react/jsx": "1.20.0-next.0",
|
|
52
|
+
"@eslint-react/shared": "1.20.0-next.0",
|
|
53
|
+
"@eslint-react/types": "1.20.0-next.0",
|
|
54
|
+
"@eslint-react/tools": "1.20.0-next.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/react": "^19.0.1",
|