@azat-io/eslint-config 2.66.0 → 2.67.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.
Files changed (2) hide show
  1. package/package.json +12 -12
  2. package/readme.md +29 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azat-io/eslint-config",
3
- "version": "2.66.0",
3
+ "version": "2.67.0",
4
4
  "description": "ESLint shareable config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -36,31 +36,31 @@
36
36
  "eslint-plugin-de-morgan": "^2.0.0",
37
37
  "eslint-plugin-depend": "^1.4.0",
38
38
  "eslint-plugin-import-x": "^4.16.1",
39
- "eslint-plugin-jsdoc": "^62.2.0",
39
+ "eslint-plugin-jsdoc": "^62.4.1",
40
40
  "eslint-plugin-jsx-a11y": "^6.10.2",
41
41
  "eslint-plugin-n": "^17.23.2",
42
- "eslint-plugin-package-json": "^0.88.1",
43
- "eslint-plugin-perfectionist": "^5.3.1",
42
+ "eslint-plugin-package-json": "^0.88.2",
43
+ "eslint-plugin-perfectionist": "^5.4.0",
44
44
  "eslint-plugin-prefer-let": "^4.0.1",
45
45
  "eslint-plugin-promise": "^7.2.1",
46
46
  "eslint-plugin-qwik": "^1.18.0",
47
47
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
48
- "eslint-plugin-react-dom": "^2.7.2",
48
+ "eslint-plugin-react-dom": "^2.7.4",
49
49
  "eslint-plugin-react-hooks": "^7.0.1",
50
- "eslint-plugin-react-hooks-extra": "^2.7.2",
51
- "eslint-plugin-react-naming-convention": "^2.7.2",
50
+ "eslint-plugin-react-hooks-extra": "^2.7.4",
51
+ "eslint-plugin-react-naming-convention": "^2.7.4",
52
52
  "eslint-plugin-react-perf": "^3.3.3",
53
- "eslint-plugin-react-web-api": "^2.7.2",
54
- "eslint-plugin-react-x": "^2.7.2",
55
- "eslint-plugin-regexp": "^2.10.0",
53
+ "eslint-plugin-react-web-api": "^2.7.4",
54
+ "eslint-plugin-react-x": "^2.7.4",
55
+ "eslint-plugin-regexp": "^3.0.0",
56
56
  "eslint-plugin-sonarjs": "^3.0.5",
57
57
  "eslint-plugin-svelte": "^3.14.0",
58
58
  "eslint-plugin-unicorn": "^62.0.0",
59
59
  "eslint-plugin-vue": "^10.7.0",
60
- "globals": "^17.0.0",
60
+ "globals": "^17.1.0",
61
61
  "jsonc-eslint-parser": "^2.4.2",
62
62
  "svelte-eslint-parser": "^1.4.1",
63
- "typescript-eslint": "^8.53.1",
63
+ "typescript-eslint": "^8.54.0",
64
64
  "vue-eslint-parser": "^10.2.0"
65
65
  },
66
66
  "peerDependencies": {
package/readme.md CHANGED
@@ -11,9 +11,12 @@
11
11
  [![Version](https://img.shields.io/npm/v/@azat-io/eslint-config.svg?color=4a32c3&labelColor=26272b)](https://npmjs.com/package/@azat-io/eslint-config)
12
12
  [![GitHub License](https://img.shields.io/badge/license-MIT-232428.svg?color=4a32c3&labelColor=26272b)](https://github.com/azat-io/eslint-config/blob/main/license.md)
13
13
 
14
- A comprehensive and flexible ESLint configuration that supports a wide range of frameworks and environments. Easily integrate clean, consistent code standards across projects by enabling settings for specific tools and libraries.
14
+ A comprehensive and flexible ESLint configuration that supports a wide range of
15
+ frameworks and environments. Easily integrate clean, consistent code standards
16
+ across projects by enabling settings for specific tools and libraries.
15
17
 
16
- This config covers multiple setups in a single, straightforward import, helping maintain consistency across different project types and frameworks.
18
+ This config covers multiple setups in a single, straightforward import, helping
19
+ maintain consistency across different project types and frameworks.
17
20
 
18
21
  ## Usage
19
22
 
@@ -48,7 +51,9 @@ export default eslintConfig({
48
51
 
49
52
  ## Configuration
50
53
 
51
- To configure the ESLint rules based on your project’s needs, import the config and pass an object with options for each framework or tool. By default, all options are disabled, so you can enable only what's relevant to your project.
54
+ To configure the ESLint rules based on your project’s needs, import the config
55
+ and pass an object with options for each framework or tool. By default, all
56
+ options are disabled, so you can enable only what's relevant to your project.
52
57
 
53
58
  ```js
54
59
  import eslintConfig from '@azat-io/eslint-config'
@@ -68,39 +73,48 @@ export default eslintConfig({
68
73
 
69
74
  ### perfectionist
70
75
 
71
- Enables rules for sorting and organizing code structures for better readability and consistency.
76
+ Enables rules for sorting and organizing code structures for better readability
77
+ and consistency.
72
78
 
73
79
  ### typescript
74
80
 
75
- Adds TypeScript-specific linting rules to ensure type safety and maintain TypeScript best practices.
81
+ Adds TypeScript-specific linting rules to ensure type safety and maintain
82
+ TypeScript best practices.
76
83
 
77
84
  ### svelte
78
85
 
79
- Enables support for Svelte, including linting rules for Svelte components and files.
86
+ Enables support for Svelte, including linting rules for Svelte components and
87
+ files.
80
88
 
81
89
  ### vitest
82
90
 
83
- Adds support for Vitest, adjusting linting for testing files and practices within Vitest projects.
91
+ Adds support for Vitest, adjusting linting for testing files and practices
92
+ within Vitest projects.
84
93
 
85
94
  ### astro
86
95
 
87
- Configures ESLint for Astro projects, with adjustments for Astro’s file structure and conventions.
96
+ Configures ESLint for Astro projects, with adjustments for Astro’s file
97
+ structure and conventions.
88
98
 
89
99
  ### react
90
100
 
91
- Includes React-specific linting rules for JSX syntax, React hooks, and best practices within React environments.
101
+ Includes React-specific linting rules for JSX syntax, React hooks, and best
102
+ practices within React environments.
92
103
 
93
104
  ### qwik
94
105
 
95
- Adds support for Qwik, adjusting linting for Qwik-specific syntax and conventions.
106
+ Adds support for Qwik, adjusting linting for Qwik-specific syntax and
107
+ conventions.
96
108
 
97
109
  ### node
98
110
 
99
- Adjusts linting for Node.js environments, addressing Node-specific globals, imports, and common practices.
111
+ Adjusts linting for Node.js environments, addressing Node-specific globals,
112
+ imports, and common practices.
100
113
 
101
114
  ### vue
102
115
 
103
- Adds Vue-specific linting rules, supporting Vue's syntax and best practices for Vue components.
116
+ Adds Vue-specific linting rules, supporting Vue's syntax and best practices for
117
+ Vue components.
104
118
 
105
119
  ### extends
106
120
 
@@ -153,8 +167,9 @@ This config uses the following plugins:
153
167
 
154
168
  ## See also
155
169
 
156
- - [`@azat-io/stylelint-config`](https://github.com/azat-io/stylelint-config)
157
- - [`@azat-io/typescript-config`](https://github.com/azat-io/typescript-config)
170
+ - [@azat-io/prettier-config](https://github.com/azat-io/prettier-config)
171
+ - [@azat-io/stylelint-config](https://github.com/azat-io/stylelint-config)
172
+ - [@azat-io/typescript-config](https://github.com/azat-io/typescript-config)
158
173
 
159
174
  ## License
160
175