eslint-config-vylda-vanilla-react 4.1.0 → 4.1.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/Changelog.md +8 -0
- package/index.d.ts +45 -0
- package/package.json +3 -3
package/Changelog.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this component will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [4.1.2] - 2025-11-13
|
|
8
|
+
### added
|
|
9
|
+
- Declaration file [Vilda Lipold]
|
|
10
|
+
|
|
11
|
+
## [4.1.1] - 2025-11-13
|
|
12
|
+
### Updated
|
|
13
|
+
- Packages [Vilda Lipold]
|
|
14
|
+
|
|
7
15
|
## [4.1.0] - 2025-11-02
|
|
8
16
|
### Updated
|
|
9
17
|
- Packages [Vilda Lipold]
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ESLint, Linter } from 'eslint';
|
|
2
|
+
import type { TGetImportConfigOptions } from 'eslint-config-vylda-vanilla'
|
|
3
|
+
|
|
4
|
+
export type TConfig = Array<Linter.Config>;
|
|
5
|
+
|
|
6
|
+
export type TGetConfigOptions = TGetImportConfigOptions & {
|
|
7
|
+
refreshFiles?: Array<string>;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export function getConfig(options?: TGetConfigOptions): TConfig;
|
|
11
|
+
export function getImportConfig(options?: TGetImportConfigOptions): TConfig;
|
|
12
|
+
export function mapFiles(defaults: TConfig, customFiles: Array<string>): TConfig;
|
|
13
|
+
|
|
14
|
+
export const a11y: TConfig;
|
|
15
|
+
export const barrels: TConfig;
|
|
16
|
+
export const barrelsFiles: Array<string>;
|
|
17
|
+
export const bestPractices: TConfig;
|
|
18
|
+
export const constants: Record<string, number>;
|
|
19
|
+
export const customs: TConfig;
|
|
20
|
+
export const defaultImportExtensions: Array<string>;
|
|
21
|
+
export const defaultImportExtensionsRuleGranularOption: Record<string, string>;
|
|
22
|
+
export const defaultImportNoExtraneousDependenciesDevDependencies: Array<string>;
|
|
23
|
+
export const defaultImportResolverNodeExtensions: Array<string>;
|
|
24
|
+
export const errors: TConfig;
|
|
25
|
+
export const es6: TConfig;
|
|
26
|
+
export const files: Array<string>;
|
|
27
|
+
export const hooks: TConfig;
|
|
28
|
+
export const ignores: TConfig;
|
|
29
|
+
export const node: TConfig;
|
|
30
|
+
export const perfectionist: TConfig;
|
|
31
|
+
export const plugins: Record<string, ESLint.Plugin>;
|
|
32
|
+
export const plus: TConfig;
|
|
33
|
+
export const react: TConfig;
|
|
34
|
+
export const reactConfigs: TConfig;
|
|
35
|
+
export const reactPlugins: Record<string, ESLint.Plugin>;
|
|
36
|
+
export const reactStylistic: TConfig;
|
|
37
|
+
export const refresh: TConfig;
|
|
38
|
+
export const refreshFiles: Array<string>;
|
|
39
|
+
export const strict: TConfig;
|
|
40
|
+
export const stylistic: TConfig;
|
|
41
|
+
export const vanillaConfigs: TConfig;
|
|
42
|
+
export const variables: TConfig;
|
|
43
|
+
|
|
44
|
+
declare const config: TConfig;
|
|
45
|
+
export default config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-vylda-vanilla-react",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Eslint rules for JS React projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"homepage": "https://gitlab.com/Vylda/eslint-config-vylda-vanilla-react",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"eslint
|
|
31
|
+
"eslint": "^9.39.1",
|
|
32
|
+
"eslint-config-vylda-vanilla": "^4.4.1",
|
|
32
33
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
33
34
|
"eslint-plugin-react": "^7.37.5",
|
|
34
35
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -37,7 +38,6 @@
|
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@eslint/config-inspector": "^1.0.2",
|
|
40
|
-
"eslint": "^9.39.0",
|
|
41
41
|
"husky": "^9.1.7"
|
|
42
42
|
}
|
|
43
43
|
}
|