@santi020k/eslint-config-solid 0.8.1
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/README.md +11 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/package.json +54 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @santi020k/eslint-config-solid
|
|
2
|
+
|
|
3
|
+
SolidJS support for projects using the shared linting baseline.
|
|
4
|
+
|
|
5
|
+
This package is part of the [`@santi020k/eslint-config-basic`](https://github.com/santi020k/eslint-config-basic) monorepo.
|
|
6
|
+
|
|
7
|
+
- Docs: [Solid guide](https://santi020k.github.io/eslint-config-basic/frameworks/solid.html)
|
|
8
|
+
- Repository: [santi020k/eslint-config-basic](https://github.com/santi020k/eslint-config-basic)
|
|
9
|
+
- Author: [santi020k](https://santi020k.me)
|
|
10
|
+
|
|
11
|
+
The canonical documentation lives on the VitePress site, so this README intentionally stays short to avoid duplication.
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import pluginSolid from "eslint-plugin-solid";
|
|
3
|
+
var solidConfig = [
|
|
4
|
+
{
|
|
5
|
+
name: "eslint-config-solid/rules",
|
|
6
|
+
...pluginSolid.configs["flat/recommended"]
|
|
7
|
+
}
|
|
8
|
+
];
|
|
9
|
+
var index_default = solidConfig;
|
|
10
|
+
export {
|
|
11
|
+
index_default as default,
|
|
12
|
+
solidConfig
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import pluginSolid from 'eslint-plugin-solid'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\n/**\n * SolidJS ESLint configuration\n * Extends eslint-plugin-solid recommended rules\n */\nexport const solidConfig: TSESLint.FlatConfig.ConfigArray = [\n {\n name: 'eslint-config-solid/rules',\n ...(pluginSolid.configs['flat/recommended'] as any)\n }\n]\n\nexport default solidConfig\n"],"mappings":";AAAA,OAAO,iBAAiB;AAQjB,IAAM,cAA+C;AAAA,EAC1D;AAAA,IACE,MAAM;AAAA,IACN,GAAI,YAAY,QAAQ,kBAAkB;AAAA,EAC5C;AACF;AAEA,IAAO,gBAAQ;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@santi020k/eslint-config-solid",
|
|
3
|
+
"version": "0.8.1",
|
|
4
|
+
"description": "SolidJS ESLint configuration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsup",
|
|
20
|
+
"dev": "tsup --watch",
|
|
21
|
+
"clean": "rm -rf dist",
|
|
22
|
+
"check:exports": "publint",
|
|
23
|
+
"typecheck": "tsc --noEmit"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"eslint": "^10.0.3"
|
|
27
|
+
},
|
|
28
|
+
"peerDependenciesMeta": {
|
|
29
|
+
"solid-js": {
|
|
30
|
+
"optional": true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"eslint-plugin-solid": "^0.14.5"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@typescript-eslint/utils": "^8.57.0",
|
|
38
|
+
"tsup": "^8.5.1",
|
|
39
|
+
"typescript": "^5.9.3"
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=18.18.0"
|
|
46
|
+
},
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"author": "santi020k",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/santi020k/eslint-config-basic.git",
|
|
52
|
+
"directory": "packages/solid"
|
|
53
|
+
}
|
|
54
|
+
}
|