@entva/styleguide 0.0.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/.github/workflows/ci.yml +14 -0
- package/LICENSE +21 -0
- package/README.md +88 -0
- package/css/README.md +385 -0
- package/css/packages/stylelint/LICENSE +21 -0
- package/css/packages/stylelint/README.md +27 -0
- package/css/packages/stylelint/eslint.config.js +3 -0
- package/css/packages/stylelint/index.js +84 -0
- package/css/packages/stylelint/package-lock.json +4042 -0
- package/css/packages/stylelint/package.json +42 -0
- package/html/README.md +98 -0
- package/javascript/README.md +3255 -0
- package/javascript/packages/eslint-base/LICENSE +21 -0
- package/javascript/packages/eslint-base/README.md +27 -0
- package/javascript/packages/eslint-base/eslint.config.js +3 -0
- package/javascript/packages/eslint-base/index.js +1084 -0
- package/javascript/packages/eslint-base/package-lock.json +2653 -0
- package/javascript/packages/eslint-base/package.json +36 -0
- package/javascript/packages/eslint-react/LICENSE +21 -0
- package/javascript/packages/eslint-react/README.md +27 -0
- package/javascript/packages/eslint-react/eslint.config.js +3 -0
- package/javascript/packages/eslint-react/index.js +526 -0
- package/javascript/packages/eslint-react/package-lock.json +3035 -0
- package/javascript/packages/eslint-react/package.json +42 -0
- package/package.json +15 -0
- package/react/README.md +726 -0
- package/scripts/for-each-package +12 -0
- package/test/css.js +36 -0
- package/test/index.js +7 -0
- package/test/js.js +35 -0
- package/test/utils.js +63 -0
- package/tooling/packages/biome/LICENSE +21 -0
- package/tooling/packages/biome/README.md +27 -0
- package/tooling/packages/biome/biome.json +1285 -0
- package/tooling/packages/biome/package-lock.json +183 -0
- package/tooling/packages/biome/package.json +38 -0
- package/tsconfig.json +31 -0
- package/typescript/README.md +66 -0
- package/typescript/packages/eslint-typescript-base/LICENSE +21 -0
- package/typescript/packages/eslint-typescript-base/README.md +27 -0
- package/typescript/packages/eslint-typescript-base/eslint.config.js +3 -0
- package/typescript/packages/eslint-typescript-base/index.js +272 -0
- package/typescript/packages/eslint-typescript-base/package-lock.json +3215 -0
- package/typescript/packages/eslint-typescript-base/package.json +41 -0
- package/typescript/packages/eslint-typescript-base/tsconfig.json +30 -0
- package/typescript/packages/eslint-typescript-react/LICENSE +21 -0
- package/typescript/packages/eslint-typescript-react/README.md +27 -0
- package/typescript/packages/eslint-typescript-react/eslint.config.js +3 -0
- package/typescript/packages/eslint-typescript-react/index.js +75 -0
- package/typescript/packages/eslint-typescript-react/package-lock.json +3630 -0
- package/typescript/packages/eslint-typescript-react/package.json +41 -0
- package/typescript/packages/eslint-typescript-react/tsconfig.json +30 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "eslint-config-entva-typescript",
|
|
3
|
+
"description": "Shareable typescript styleguide config for eslint",
|
|
4
|
+
"author": "Max Degterev <max@degterev.me>",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"readmeFilename": "README.md",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/entva/styleguide"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/entva/styleguide/issues",
|
|
12
|
+
"version": "2.1.0",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"linter",
|
|
15
|
+
"config",
|
|
16
|
+
"eslint",
|
|
17
|
+
"typescript"
|
|
18
|
+
],
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "index.js",
|
|
21
|
+
"scripts": {
|
|
22
|
+
"reinstall": "rm -rf node_modules package-lock.json && npm install",
|
|
23
|
+
"test": "node ../../../test ./test js ts",
|
|
24
|
+
"rules": "node_modules/.bin/eslint --print-config file.tsx > eslint-ruleset-output.json",
|
|
25
|
+
"prepublishOnly": "npm test"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"react": "^19.0.0",
|
|
29
|
+
"eslint": "^9.16.0"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
33
|
+
"eslint-config-entva": "^2.2.0",
|
|
34
|
+
"eslint-config-entva-typescript-base": "^2.2.0",
|
|
35
|
+
"eslint-plugin-import": "^2.31.0",
|
|
36
|
+
"globals": "^15.13.0"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"eslint": "^9.x.x"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"esModuleInterop": true,
|
|
15
|
+
"module": "esnext",
|
|
16
|
+
"moduleResolution": "node",
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"isolatedModules": true,
|
|
19
|
+
"jsx": "preserve",
|
|
20
|
+
"incremental": true
|
|
21
|
+
},
|
|
22
|
+
"include": [
|
|
23
|
+
"**/*.ts",
|
|
24
|
+
"**/*.tsx",
|
|
25
|
+
"**/*.js"
|
|
26
|
+
],
|
|
27
|
+
"exclude": [
|
|
28
|
+
"node_modules"
|
|
29
|
+
]
|
|
30
|
+
}
|