eslint-plugin-code-style 2.0.18 → 2.1.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/index.d.ts CHANGED
@@ -34,6 +34,7 @@ export type RuleNames =
34
34
  | "code-style/function-params-per-line"
35
35
  | "code-style/hook-callback-format"
36
36
  | "code-style/hook-deps-per-line"
37
+ | "code-style/hook-file-naming-convention"
37
38
  | "code-style/use-state-naming-convention"
38
39
  | "code-style/if-else-spacing"
39
40
  | "code-style/if-statement-format"
@@ -135,6 +136,7 @@ interface PluginRules {
135
136
  "function-params-per-line": Rule.RuleModule;
136
137
  "hook-callback-format": Rule.RuleModule;
137
138
  "hook-deps-per-line": Rule.RuleModule;
139
+ "hook-file-naming-convention": Rule.RuleModule;
138
140
  "if-else-spacing": Rule.RuleModule;
139
141
  "if-statement-format": Rule.RuleModule;
140
142
  "import-format": Rule.RuleModule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-code-style",
3
- "version": "2.0.18",
3
+ "version": "2.1.0",
4
4
  "description": "A custom ESLint plugin for enforcing consistent code formatting and style rules in React/JSX projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "index.d.ts",