@brybrant/eslint-config 1.0.0 → 1.0.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/eslint.config.d.ts +13 -14
- package/dist/eslint.config.js +1 -1
- package/package.json +33 -33
package/dist/eslint.config.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { ConfigWithExtends } from "@eslint/config-helpers";
|
|
2
|
-
|
|
3
2
|
//#region eslint.config.d.ts
|
|
4
3
|
/**
|
|
5
|
-
* ## ESLint Config Function
|
|
6
|
-
*
|
|
7
|
-
* Ignores all files in the `dist` folder within the current working directory.
|
|
8
|
-
*
|
|
9
|
-
* ### Configs:
|
|
10
|
-
* 1. [Recommended JavaScript ESLint config](https://www.npmjs.com/@eslint/js)
|
|
11
|
-
* 2. {@link tseslintConfig my TypeScript ESLint config}
|
|
12
|
-
* 3. **ESLint config object(s)** *(rest parameter)*
|
|
13
|
-
* 4. [my Prettier config](https://www.npmjs.com/@brybrant/prettier-config)
|
|
14
|
-
* 5. {@link jsdocConfigs JSDoc ESLint config}
|
|
15
|
-
*
|
|
16
|
-
* @param configs - [ESLint config object(s)](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-objects)
|
|
17
|
-
*/
|
|
4
|
+
* ## ESLint Config Function
|
|
5
|
+
*
|
|
6
|
+
* Ignores all files in the `dist` folder within the current working directory.
|
|
7
|
+
*
|
|
8
|
+
* ### Configs:
|
|
9
|
+
* 1. [Recommended JavaScript ESLint config](https://www.npmjs.com/@eslint/js)
|
|
10
|
+
* 2. {@link tseslintConfig my TypeScript ESLint config}
|
|
11
|
+
* 3. **ESLint config object(s)** *(rest parameter)*
|
|
12
|
+
* 4. [my Prettier config](https://www.npmjs.com/@brybrant/prettier-config)
|
|
13
|
+
* 5. {@link jsdocConfigs JSDoc ESLint config}
|
|
14
|
+
*
|
|
15
|
+
* @param configs - [ESLint config object(s)](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-objects)
|
|
16
|
+
*/
|
|
18
17
|
declare const eslintConfig: (...configs: ConfigWithExtends[]) => ConfigWithExtends[];
|
|
19
18
|
//#endregion
|
|
20
19
|
export { eslintConfig as default };
|
package/dist/eslint.config.js
CHANGED
|
@@ -70,7 +70,7 @@ const jsdocConfigs = [(
|
|
|
70
70
|
* 3. **ESLint config object(s)** *(rest parameter)*
|
|
71
71
|
* 4. [my Prettier config](https://www.npmjs.com/@brybrant/prettier-config)
|
|
72
72
|
* 5. {@link jsdocConfigs JSDoc ESLint config}
|
|
73
|
-
*
|
|
73
|
+
*
|
|
74
74
|
* @param configs - [ESLint config object(s)](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-objects)
|
|
75
75
|
*/
|
|
76
76
|
const eslintConfig = (...configs) => {
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@brybrant/eslint-config",
|
|
3
|
-
"author": "brybrant",
|
|
4
|
-
"license": "GPL-3.0-only",
|
|
5
|
-
"version": "1.0.
|
|
6
|
-
"type": "module",
|
|
7
|
-
"module": "./dist/eslint.config.js",
|
|
8
|
-
"types": "./dist/eslint.config.d.ts",
|
|
9
|
-
"exports": "./dist/eslint.config.js",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/brybrant/configs.git"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@brybrant/prettier-config": "^0.0
|
|
19
|
-
"@eslint/js": "9.x || 10.x",
|
|
20
|
-
"@types/node": "^
|
|
21
|
-
"eslint-config-prettier": "^10.1.8",
|
|
22
|
-
"eslint-plugin-jsdoc": "^
|
|
23
|
-
"eslint-plugin-prettier": "^5.5.
|
|
24
|
-
"globals": "^17.
|
|
25
|
-
"typescript-eslint": "^8.
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"eslint": "9.x || 10.x"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@types/eslint": "^9.6.1",
|
|
32
|
-
"typescript": "^
|
|
33
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@brybrant/eslint-config",
|
|
3
|
+
"author": "brybrant",
|
|
4
|
+
"license": "GPL-3.0-only",
|
|
5
|
+
"version": "1.0.2",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"module": "./dist/eslint.config.js",
|
|
8
|
+
"types": "./dist/eslint.config.d.ts",
|
|
9
|
+
"exports": "./dist/eslint.config.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/brybrant/configs.git"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@brybrant/prettier-config": "^1.0.0",
|
|
19
|
+
"@eslint/js": "9.x || 10.x",
|
|
20
|
+
"@types/node": "^26.1.2",
|
|
21
|
+
"eslint-config-prettier": "^10.1.8",
|
|
22
|
+
"eslint-plugin-jsdoc": "^63.3.2",
|
|
23
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
24
|
+
"globals": "^17.8.0",
|
|
25
|
+
"typescript-eslint": "^8.65.0"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"eslint": "9.x || 10.x"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/eslint": "^9.6.1",
|
|
32
|
+
"typescript": "^6.0.3"
|
|
33
|
+
}
|
|
34
34
|
}
|