eslint-plugin-react-naming-convention 1.20.2-next.0 → 1.20.2-next.2

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 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.20.2-next.0";
38
+ var version = "1.20.2-next.2";
39
39
  var createRule = shared.createRuleForPlugin("naming-convention");
40
40
 
41
41
  // src/rules/component-name.ts
@@ -103,6 +103,7 @@ function validate(name2, options) {
103
103
  var component_name_default = createRule({
104
104
  meta: {
105
105
  type: "problem",
106
+ defaultOptions: [...defaultOptions],
106
107
  docs: {
107
108
  description: "enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'"
108
109
  },
@@ -287,6 +288,7 @@ var schema2 = [
287
288
  var filename_default = createRule({
288
289
  meta: {
289
290
  type: "problem",
291
+ defaultOptions: [...defaultOptions2],
290
292
  docs: {
291
293
  description: "enforce naming convention for JSX filenames"
292
294
  },
@@ -373,6 +375,7 @@ var schema3 = [
373
375
  var filename_extension_default = createRule({
374
376
  meta: {
375
377
  type: "problem",
378
+ defaultOptions: [...defaultOptions3],
376
379
  docs: {
377
380
  description: "enforce naming convention for JSX file extensions"
378
381
  },
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.20.2-next.0";
12
+ var version = "1.20.2-next.2";
13
13
  var createRule = createRuleForPlugin("naming-convention");
14
14
 
15
15
  // src/rules/component-name.ts
@@ -77,6 +77,7 @@ function validate(name2, options) {
77
77
  var component_name_default = createRule({
78
78
  meta: {
79
79
  type: "problem",
80
+ defaultOptions: [...defaultOptions],
80
81
  docs: {
81
82
  description: "enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'"
82
83
  },
@@ -261,6 +262,7 @@ var schema2 = [
261
262
  var filename_default = createRule({
262
263
  meta: {
263
264
  type: "problem",
265
+ defaultOptions: [...defaultOptions2],
264
266
  docs: {
265
267
  description: "enforce naming convention for JSX filenames"
266
268
  },
@@ -347,6 +349,7 @@ var schema3 = [
347
349
  var filename_extension_default = createRule({
348
350
  meta: {
349
351
  type: "problem",
352
+ defaultOptions: [...defaultOptions3],
350
353
  docs: {
351
354
  description: "enforce naming convention for JSX file extensions"
352
355
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-naming-convention",
3
- "version": "1.20.2-next.0",
3
+ "version": "1.20.2-next.2",
4
4
  "description": "ESLint React's ESLint plugin for naming convention related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -48,15 +48,15 @@
48
48
  "@typescript-eslint/types": "^8.18.1",
49
49
  "@typescript-eslint/utils": "^8.18.1",
50
50
  "ts-pattern": "^5.6.0",
51
- "@eslint-react/ast": "1.20.2-next.0",
52
- "@eslint-react/jsx": "1.20.2-next.0",
53
- "@eslint-react/shared": "1.20.2-next.0",
54
- "@eslint-react/core": "1.20.2-next.0",
55
- "@eslint-react/tools": "1.20.2-next.0",
56
- "@eslint-react/types": "1.20.2-next.0"
51
+ "@eslint-react/ast": "1.20.2-next.2",
52
+ "@eslint-react/jsx": "1.20.2-next.2",
53
+ "@eslint-react/shared": "1.20.2-next.2",
54
+ "@eslint-react/core": "1.20.2-next.2",
55
+ "@eslint-react/tools": "1.20.2-next.2",
56
+ "@eslint-react/types": "1.20.2-next.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/react": "^19.0.1",
59
+ "@types/react": "^19.0.2",
60
60
  "@types/react-dom": "^19.0.2",
61
61
  "string-ts": "^2.2.0",
62
62
  "tsup": "^8.3.5",