@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.
Files changed (52) hide show
  1. package/.github/workflows/ci.yml +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +88 -0
  4. package/css/README.md +385 -0
  5. package/css/packages/stylelint/LICENSE +21 -0
  6. package/css/packages/stylelint/README.md +27 -0
  7. package/css/packages/stylelint/eslint.config.js +3 -0
  8. package/css/packages/stylelint/index.js +84 -0
  9. package/css/packages/stylelint/package-lock.json +4042 -0
  10. package/css/packages/stylelint/package.json +42 -0
  11. package/html/README.md +98 -0
  12. package/javascript/README.md +3255 -0
  13. package/javascript/packages/eslint-base/LICENSE +21 -0
  14. package/javascript/packages/eslint-base/README.md +27 -0
  15. package/javascript/packages/eslint-base/eslint.config.js +3 -0
  16. package/javascript/packages/eslint-base/index.js +1084 -0
  17. package/javascript/packages/eslint-base/package-lock.json +2653 -0
  18. package/javascript/packages/eslint-base/package.json +36 -0
  19. package/javascript/packages/eslint-react/LICENSE +21 -0
  20. package/javascript/packages/eslint-react/README.md +27 -0
  21. package/javascript/packages/eslint-react/eslint.config.js +3 -0
  22. package/javascript/packages/eslint-react/index.js +526 -0
  23. package/javascript/packages/eslint-react/package-lock.json +3035 -0
  24. package/javascript/packages/eslint-react/package.json +42 -0
  25. package/package.json +15 -0
  26. package/react/README.md +726 -0
  27. package/scripts/for-each-package +12 -0
  28. package/test/css.js +36 -0
  29. package/test/index.js +7 -0
  30. package/test/js.js +35 -0
  31. package/test/utils.js +63 -0
  32. package/tooling/packages/biome/LICENSE +21 -0
  33. package/tooling/packages/biome/README.md +27 -0
  34. package/tooling/packages/biome/biome.json +1285 -0
  35. package/tooling/packages/biome/package-lock.json +183 -0
  36. package/tooling/packages/biome/package.json +38 -0
  37. package/tsconfig.json +31 -0
  38. package/typescript/README.md +66 -0
  39. package/typescript/packages/eslint-typescript-base/LICENSE +21 -0
  40. package/typescript/packages/eslint-typescript-base/README.md +27 -0
  41. package/typescript/packages/eslint-typescript-base/eslint.config.js +3 -0
  42. package/typescript/packages/eslint-typescript-base/index.js +272 -0
  43. package/typescript/packages/eslint-typescript-base/package-lock.json +3215 -0
  44. package/typescript/packages/eslint-typescript-base/package.json +41 -0
  45. package/typescript/packages/eslint-typescript-base/tsconfig.json +30 -0
  46. package/typescript/packages/eslint-typescript-react/LICENSE +21 -0
  47. package/typescript/packages/eslint-typescript-react/README.md +27 -0
  48. package/typescript/packages/eslint-typescript-react/eslint.config.js +3 -0
  49. package/typescript/packages/eslint-typescript-react/index.js +75 -0
  50. package/typescript/packages/eslint-typescript-react/package-lock.json +3630 -0
  51. package/typescript/packages/eslint-typescript-react/package.json +41 -0
  52. package/typescript/packages/eslint-typescript-react/tsconfig.json +30 -0
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "eslint-config-entva",
3
+ "description": "Shareable entva 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.4.0",
13
+ "keywords": [
14
+ "linter",
15
+ "config",
16
+ "eslint",
17
+ "react"
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 jsx",
24
+ "rules": "eslint --print-config file.jsx > eslint-ruleset-output.json",
25
+ "prepublishOnly": "npm test"
26
+ },
27
+ "devDependencies": {
28
+ "eslint": "^9.16.0",
29
+ "react": "^19.0.0"
30
+ },
31
+ "dependencies": {
32
+ "eslint-config-entva-base": "^2.4.0",
33
+ "eslint-plugin-import": "^2.31.0",
34
+ "eslint-plugin-jsx-a11y": "^6.10.2",
35
+ "eslint-plugin-react": "^7.37.2",
36
+ "eslint-plugin-react-hooks": "^5.1.0",
37
+ "globals": "^15.13.0"
38
+ },
39
+ "peerDependencies": {
40
+ "eslint": "^9.x.x"
41
+ }
42
+ }
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@entva/styleguide",
3
+ "author": "Max Degterev <max@degterev.me>",
4
+ "version": "0.0.0",
5
+ "license": "MIT",
6
+ "readmeFilename": "README.md",
7
+ "repository": "entva/styleguide",
8
+ "bugs": "https://github.com/entva/styleguide",
9
+ "type": "module",
10
+ "scripts": {
11
+ "preinstall": "scripts/for-each-package npm install",
12
+ "test": "scripts/for-each-package npm run test",
13
+ "check": "npm run test"
14
+ }
15
+ }