@peerigon/configs 4.2.0 → 4.3.0-beta.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.
Files changed (148) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/{types → dist}/eslint/lib/glob-patterns.d.ts +0 -1
  3. package/dist/eslint/lib/glob-patterns.js +11 -0
  4. package/{types → dist}/eslint/lib/rule-options.d.ts +0 -1
  5. package/dist/eslint/lib/rule-options.js +127 -0
  6. package/{types → dist}/eslint/presets/javascript-browser.d.ts +0 -1
  7. package/{eslint → dist/eslint}/presets/javascript-browser.js +4 -6
  8. package/{types → dist}/eslint/presets/javascript-node.d.ts +0 -1
  9. package/{eslint → dist/eslint}/presets/javascript-node.js +4 -6
  10. package/{types → dist}/eslint/presets/javascript.d.ts +0 -1
  11. package/{eslint → dist/eslint}/presets/javascript.js +0 -2
  12. package/{types → dist}/eslint/presets/typescript-node.d.ts +0 -1
  13. package/{eslint → dist/eslint}/presets/typescript-node.js +5 -7
  14. package/{types → dist}/eslint/presets/typescript-react.d.ts +0 -1
  15. package/{eslint → dist/eslint}/presets/typescript-react.js +6 -8
  16. package/{types → dist}/eslint/presets/typescript.d.ts +0 -1
  17. package/{eslint → dist/eslint}/presets/typescript.js +4 -6
  18. package/{types → dist}/eslint/rules/base.d.ts +0 -1
  19. package/{eslint → dist/eslint}/rules/base.js +5 -8
  20. package/{types → dist}/eslint/rules/browser.d.ts +0 -1
  21. package/{eslint → dist/eslint}/rules/browser.js +4 -6
  22. package/{types → dist}/eslint/rules/javascript.d.ts +0 -1
  23. package/dist/eslint/rules/javascript.js +151 -0
  24. package/{types → dist}/eslint/rules/node.d.ts +0 -1
  25. package/{eslint → dist/eslint}/rules/node.js +4 -6
  26. package/{types → dist}/eslint/rules/react.d.ts +0 -1
  27. package/dist/eslint/rules/react.js +166 -0
  28. package/{types → dist}/eslint/rules/typescript.d.ts +0 -1
  29. package/dist/eslint/rules/typescript.js +195 -0
  30. package/{types → dist}/eslint/styles/jsx-no-literals.d.ts +0 -1
  31. package/dist/eslint/styles/jsx-no-literals.js +29 -0
  32. package/{types → dist}/eslint/styles/no-default-export.d.ts +0 -1
  33. package/dist/eslint/styles/no-default-export.js +18 -0
  34. package/{types → dist}/eslint/styles/no-null.d.ts +0 -1
  35. package/{eslint → dist/eslint}/styles/no-null.js +4 -5
  36. package/{types → dist}/eslint/styles/prefer-array-shorthand.d.ts +0 -1
  37. package/dist/eslint/styles/prefer-array-shorthand.js +14 -0
  38. package/{types → dist}/eslint/styles/prefer-interface.d.ts +0 -1
  39. package/dist/eslint/styles/prefer-interface.js +9 -0
  40. package/dist/prettier/base.d.ts +8 -0
  41. package/dist/prettier/base.js +55 -0
  42. package/{types → dist}/semantic-release/base.d.ts +0 -1
  43. package/dist/semantic-release/base.js +40 -0
  44. package/{types → dist}/semantic-release/cross-publish.d.ts +4 -1
  45. package/dist/semantic-release/cross-publish.js +35 -0
  46. package/dist/typescript/base.json +43 -0
  47. package/dist/typescript/configs.d.ts +1 -0
  48. package/dist/typescript/configs.js +4 -0
  49. package/dist/typescript/js-lib.json +11 -0
  50. package/dist/typescript/lib.json +13 -0
  51. package/package.json +24 -74
  52. package/eslint/README.md +0 -119
  53. package/eslint/lib/glob-patterns.js +0 -11
  54. package/eslint/lib/rule-options.js +0 -130
  55. package/eslint/presets/javascript.test/eslint.config.js +0 -1
  56. package/eslint/presets/javascript.test/main.js +0 -62
  57. package/eslint/presets/javascript.test/other.js +0 -2
  58. package/eslint/presets/typescript-react.test/App.tsx +0 -47
  59. package/eslint/presets/typescript-react.test/Other.tsx +0 -5
  60. package/eslint/presets/typescript-react.test/eslint.config.js +0 -1
  61. package/eslint/presets/typescript-react.test/tsconfig.json +0 -7
  62. package/eslint/presets/typescript.test/eslint.config.js +0 -1
  63. package/eslint/presets/typescript.test/main.ts +0 -42
  64. package/eslint/presets/typescript.test/message.ts +0 -3
  65. package/eslint/presets/typescript.test/test.json +0 -1
  66. package/eslint/presets/typescript.test/tsconfig.json +0 -4
  67. package/eslint/presets/typescript.test/types.d.ts +0 -11
  68. package/eslint/rules/javascript.js +0 -157
  69. package/eslint/rules/react.js +0 -169
  70. package/eslint/rules/typescript.js +0 -206
  71. package/eslint/styles/jsx-no-literals.js +0 -31
  72. package/eslint/styles/jsx-no-literals.test/eslint.config.js +0 -4
  73. package/eslint/styles/jsx-no-literals.test/main.tsx +0 -4
  74. package/eslint/styles/jsx-no-literals.test/tsconfig.json +0 -7
  75. package/eslint/styles/no-default-export.js +0 -20
  76. package/eslint/styles/no-default-export.test/eslint.config.js +0 -4
  77. package/eslint/styles/no-default-export.test/main.ts +0 -2
  78. package/eslint/styles/no-default-export.test/tsconfig.json +0 -4
  79. package/eslint/styles/no-default-export.test/vitest.config.ts +0 -1
  80. package/eslint/styles/no-null.test/eslint.config.js +0 -4
  81. package/eslint/styles/no-null.test/main.ts +0 -2
  82. package/eslint/styles/no-null.test/tsconfig.json +0 -4
  83. package/eslint/styles/prefer-array-shorthand.js +0 -15
  84. package/eslint/styles/prefer-array-shorthand.test/eslint.config.js +0 -4
  85. package/eslint/styles/prefer-array-shorthand.test/main.ts +0 -4
  86. package/eslint/styles/prefer-array-shorthand.test/tsconfig.json +0 -4
  87. package/eslint/styles/prefer-interface.js +0 -10
  88. package/eslint/styles/prefer-interface.test/eslint.config.js +0 -4
  89. package/eslint/styles/prefer-interface.test/main.ts +0 -8
  90. package/eslint/styles/prefer-interface.test/tsconfig.json +0 -4
  91. package/eslint/types.d.ts +0 -50
  92. package/prettier/README.md +0 -35
  93. package/prettier/base.js +0 -35
  94. package/prettier/css.test/styles.css +0 -9
  95. package/semantic-release/README.md +0 -81
  96. package/semantic-release/base.js +0 -41
  97. package/semantic-release/cross-publish.js +0 -41
  98. package/types/eslint/lib/glob-patterns.d.ts.map +0 -1
  99. package/types/eslint/lib/rule-options.d.ts.map +0 -1
  100. package/types/eslint/presets/javascript-browser.d.ts.map +0 -1
  101. package/types/eslint/presets/javascript-node.d.ts.map +0 -1
  102. package/types/eslint/presets/javascript.d.ts.map +0 -1
  103. package/types/eslint/presets/javascript.test/eslint.config.d.ts +0 -2
  104. package/types/eslint/presets/javascript.test/eslint.config.d.ts.map +0 -1
  105. package/types/eslint/presets/javascript.test/main.d.ts +0 -2
  106. package/types/eslint/presets/javascript.test/main.d.ts.map +0 -1
  107. package/types/eslint/presets/javascript.test/other.d.ts +0 -3
  108. package/types/eslint/presets/javascript.test/other.d.ts.map +0 -1
  109. package/types/eslint/presets/typescript-node.d.ts.map +0 -1
  110. package/types/eslint/presets/typescript-react.d.ts.map +0 -1
  111. package/types/eslint/presets/typescript.d.ts.map +0 -1
  112. package/types/eslint/rules/base.d.ts.map +0 -1
  113. package/types/eslint/rules/browser.d.ts.map +0 -1
  114. package/types/eslint/rules/javascript.d.ts.map +0 -1
  115. package/types/eslint/rules/node.d.ts.map +0 -1
  116. package/types/eslint/rules/react.d.ts.map +0 -1
  117. package/types/eslint/rules/typescript.d.ts.map +0 -1
  118. package/types/eslint/styles/jsx-no-literals.d.ts.map +0 -1
  119. package/types/eslint/styles/no-default-export.d.ts.map +0 -1
  120. package/types/eslint/styles/no-default-export.test/eslint.config.d.ts +0 -3
  121. package/types/eslint/styles/no-default-export.test/eslint.config.d.ts.map +0 -1
  122. package/types/eslint/styles/no-default-export.test/main.d.ts +0 -3
  123. package/types/eslint/styles/no-default-export.test/main.d.ts.map +0 -1
  124. package/types/eslint/styles/no-default-export.test/vitest.config.d.ts +0 -3
  125. package/types/eslint/styles/no-default-export.test/vitest.config.d.ts.map +0 -1
  126. package/types/eslint/styles/no-null.d.ts.map +0 -1
  127. package/types/eslint/styles/no-null.test/eslint.config.d.ts +0 -3
  128. package/types/eslint/styles/no-null.test/eslint.config.d.ts.map +0 -1
  129. package/types/eslint/styles/no-null.test/main.d.ts +0 -2
  130. package/types/eslint/styles/no-null.test/main.d.ts.map +0 -1
  131. package/types/eslint/styles/prefer-array-shorthand.d.ts.map +0 -1
  132. package/types/eslint/styles/prefer-array-shorthand.test/eslint.config.d.ts +0 -3
  133. package/types/eslint/styles/prefer-array-shorthand.test/eslint.config.d.ts.map +0 -1
  134. package/types/eslint/styles/prefer-array-shorthand.test/main.d.ts +0 -3
  135. package/types/eslint/styles/prefer-array-shorthand.test/main.d.ts.map +0 -1
  136. package/types/eslint/styles/prefer-interface.d.ts.map +0 -1
  137. package/types/eslint/styles/prefer-interface.test/eslint.config.d.ts +0 -3
  138. package/types/eslint/styles/prefer-interface.test/eslint.config.d.ts.map +0 -1
  139. package/types/eslint/styles/prefer-interface.test/main.d.ts +0 -7
  140. package/types/eslint/styles/prefer-interface.test/main.d.ts.map +0 -1
  141. package/types/prettier/base.d.ts +0 -4
  142. package/types/prettier/base.d.ts.map +0 -1
  143. package/types/semantic-release/base.d.ts.map +0 -1
  144. package/types/semantic-release/cross-publish.d.ts.map +0 -1
  145. package/typescript/README.md +0 -63
  146. package/typescript/base.json +0 -44
  147. package/typescript/js-lib.json +0 -8
  148. package/typescript/lib.json +0 -11
@@ -1 +0,0 @@
1
- export default {};
@@ -1,4 +0,0 @@
1
- import typescriptReact from "../../presets/typescript-react.js";
2
- import { noNull } from "../no-null.js";
3
-
4
- export default [...typescriptReact, ...noNull];
@@ -1,2 +0,0 @@
1
- // eslint-disable-next-line unicorn/no-null
2
- export const shouldError = null;
@@ -1,4 +0,0 @@
1
- {
2
- "extends": ["../../../typescript/base.json"],
3
- "include": ["**/*"]
4
- }
@@ -1,15 +0,0 @@
1
- /** @type {import("eslint").Linter.Config[]} */
2
- export const preferArrayShorthand = [
3
- {
4
- rules: {
5
- "@typescript-eslint/array-type": [
6
- "warn",
7
- {
8
- default: "array",
9
- },
10
- ],
11
- },
12
- },
13
- ];
14
-
15
- export default preferArrayShorthand;
@@ -1,4 +0,0 @@
1
- import typescriptReact from "../../presets/typescript-react.js";
2
- import { preferArrayShorthand } from "../prefer-array-shorthand.js";
3
-
4
- export default [...typescriptReact, ...preferArrayShorthand];
@@ -1,4 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/array-type
2
- export type ShouldError1 = Array<string>;
3
- // eslint-disable-next-line @typescript-eslint/array-type
4
- export type ShouldError2 = Array<string | number>;
@@ -1,4 +0,0 @@
1
- {
2
- "extends": ["../../../typescript/base.json"],
3
- "include": ["**/*"]
4
- }
@@ -1,10 +0,0 @@
1
- /** @type {import("eslint").Linter.Config[]} */
2
- export const preferInterface = [
3
- {
4
- rules: {
5
- "@typescript-eslint/consistent-type-definitions": ["warn", "interface"], // https://typescript-eslint.io/rules/consistent-type-definitions
6
- },
7
- },
8
- ];
9
-
10
- export default preferInterface;
@@ -1,4 +0,0 @@
1
- import typescriptReact from "../../presets/typescript-react.js";
2
- import { preferInterface } from "../prefer-interface.js";
3
-
4
- export default [...typescriptReact, ...preferInterface];
@@ -1,8 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
2
- export type ShouldError = {
3
- name: string;
4
- };
5
-
6
- export interface ShouldWork {
7
- name: string;
8
- }
@@ -1,4 +0,0 @@
1
- {
2
- "extends": ["../../../typescript/base.json"],
3
- "include": ["**/*"]
4
- }
package/eslint/types.d.ts DELETED
@@ -1,50 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- declare module "eslint-plugin-react" {
3
- const config: {
4
- rules: { [name: string]: any };
5
- languageOptions: { [name: string]: any };
6
- };
7
-
8
- const configs: {
9
- configs: {
10
- flat: {
11
- recommended: typeof config;
12
- ["jsx-runtime"]: typeof config;
13
- };
14
- };
15
- };
16
-
17
- export default configs;
18
- }
19
-
20
- declare module "eslint-plugin-prefer-arrow" {
21
- const config: {
22
- rules: { [name: string]: any };
23
- };
24
-
25
- export default config;
26
- }
27
-
28
- declare module "eslint-plugin-react-compiler" {
29
- const config: {
30
- rules: { [name: string]: any };
31
- };
32
-
33
- export default config;
34
- }
35
-
36
- declare module "eslint-plugin-react-hooks" {
37
- const config: {
38
- rules: { [name: string]: any };
39
- };
40
-
41
- export default config;
42
- }
43
-
44
- declare module "eslint-plugin-react-refresh" {
45
- const config: {
46
- rules: { [name: string]: any };
47
- };
48
-
49
- export default config;
50
- }
@@ -1,35 +0,0 @@
1
- # [Prettier](https://prettier.io/) config
2
-
3
- ## Installation
4
-
5
- ```sh
6
- npm install prettier @peerigon/configs --save-dev
7
- ```
8
-
9
- Then create a `prettier.config.js` next to your `package.json`:
10
-
11
- ```js
12
- export { default } from "@peerigon/configs/prettier";
13
- ```
14
-
15
- Recommended configuration in your `package.json` (using [`npm-run-all2`](https://www.npmjs.com/package/npm-run-all2)):
16
-
17
- ```json
18
- {
19
- "type": "module",
20
- "scripts": {
21
- "test": "run-p test:*",
22
- "test:format": "prettier --check ."
23
- }
24
- }
25
- ```
26
-
27
- ## Configuration
28
-
29
- Our config is entirely based on Prettier's default config. Besides that, it also:
30
-
31
- - auto-sorts `import` statements
32
- - formats JSDoc comments
33
- - formats `package.json`
34
- - formats and sorts CSS properties
35
- - sorts Tailwind CSS class names
package/prettier/base.js DELETED
@@ -1,35 +0,0 @@
1
- /**
2
- * @param {string} id
3
- * @returns {string}
4
- */
5
- const safeResolve = (id) => {
6
- return "resolve" in import.meta
7
- ? import.meta.resolve(id).slice("file://".length)
8
- : id;
9
- };
10
-
11
- // Using safeResolve() here because the plugins might not be installed in the parent app/module
12
- // and we don't want to rely on the package manager to hoist the dependencies.
13
- const plugins = await Promise.all([
14
- safeResolve("@ianvs/prettier-plugin-sort-imports"),
15
- safeResolve("prettier-plugin-jsdoc"),
16
- safeResolve("prettier-plugin-packagejson"),
17
- safeResolve("prettier-plugin-css-order"),
18
- safeResolve("prettier-plugin-tailwindcss"),
19
- ]);
20
-
21
- /** @type {import("prettier").Config} */
22
- export const config = {
23
- plugins,
24
- importOrderParserPlugins: [
25
- "typescript",
26
- "jsx",
27
- "decorators",
28
- "importAttributes",
29
- ],
30
- importOrderTypeScriptVersion: "5.0.0",
31
- cssDeclarationSorterOrder: "smacss",
32
- cssDeclarationSorterKeepOverrides: false,
33
- };
34
-
35
- export default config;
@@ -1,9 +0,0 @@
1
- main {
2
- display: none;
3
- width: 100%;
4
- height: 100%;
5
- margin: 0;
6
- padding: 2;
7
- background: hotpink;
8
- animation: none;
9
- }
@@ -1,81 +0,0 @@
1
- # [Semantic release](https://semantic-release.gitbook.io/) config
2
-
3
- ## Installation
4
-
5
- ```sh
6
- npm install semantic-release @peerigon/configs --save-dev
7
- ```
8
-
9
- Then create a `.releaserc.json` next to your `package.json`:
10
-
11
- ```json
12
- {
13
- "extends": "@peerigon/configs/semantic-release"
14
- }
15
- ```
16
-
17
- Recommended configuration in your `package.json`:
18
-
19
- ```jsonc
20
- {
21
- "type": "module",
22
- "scripts": {
23
- "release": "semantic-release",
24
- },
25
- "publishConfig": {
26
- // Only if the package is supposed to be public
27
- "access": "public",
28
- "provenance": true,
29
- },
30
- }
31
- ```
32
-
33
- `"provenance": true` will generate [provenance statements](https://docs.npmjs.com/generating-provenance-statements) in case your Github actions has the correct permissions (see below).
34
-
35
- Recommended Github action:
36
-
37
- ```yaml
38
- name: 🧪 Test and 🚀 Release
39
-
40
- on:
41
- push:
42
- branches:
43
- - main
44
- - beta
45
- pull_request: {}
46
-
47
- jobs:
48
- test-and-release:
49
- runs-on: ubuntu-latest
50
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
51
-
52
- permissions:
53
- # Necessary for semantic-release
54
- contents: write
55
- issues: write
56
- pull-requests: write
57
- # Necessary for npm publish --provenance
58
- # See https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
59
- id-token: write
60
- # packages: write is only necessary if you want to publish to Github
61
- packages: write
62
-
63
- steps:
64
- # ...
65
- # Install and build steps
66
- # ...
67
- - name: 🚀 Release
68
- env:
69
- # GITHUB_TOKEN is only necessary if you want to publish to Github
70
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
72
- run: |
73
- npm run release
74
- ```
75
-
76
- ## Configuration
77
-
78
- We export the following `.releaserc.json` presets. They can be used by extending `@peerigon/configs/<preset-name>`:
79
-
80
- - `semantic-release`: Recommended config for publishing a library to a single registry (according to your `.npmrc`).
81
- - `semantic-release/cross-publish`: Config for publishing a library both to NPM, JSR _and_ Github
@@ -1,41 +0,0 @@
1
- /** @type {import("semantic-release").Options} */
2
- export const config = {
3
- branches: [
4
- {
5
- name: "main",
6
- channel: "latest",
7
- },
8
- { name: "beta", prerelease: true },
9
- ],
10
- plugins: [
11
- "@semantic-release/commit-analyzer",
12
- "@semantic-release/release-notes-generator",
13
- "@semantic-release/changelog",
14
- [
15
- "@semantic-release/exec",
16
- {
17
- prepareCmd: "npx -y prettier --write CHANGELOG.md",
18
- },
19
- ],
20
- [
21
- "@semantic-release/git",
22
- {
23
- assets: ["CHANGELOG.md"],
24
- },
25
- ],
26
- [
27
- "@semantic-release/npm",
28
- {
29
- tarballDir: ".semantic-release",
30
- },
31
- ],
32
- [
33
- "@semantic-release/github",
34
- {
35
- assets: ".semantic-release/*.tgz",
36
- },
37
- ],
38
- ],
39
- };
40
-
41
- export default config;
@@ -1,41 +0,0 @@
1
- import { config as baseConfig } from "./base.js";
2
-
3
- /**
4
- * @param {{ github: boolean; jsr: boolean }} options?
5
- * @returns {import("semantic-release").Options}
6
- */
7
- export const config = (
8
- { github = false, jsr = false } = { github: true, jsr: true },
9
- ) => {
10
- /** @type {import("semantic-release").PluginSpec[]} */
11
- const plugins = [];
12
-
13
- if (baseConfig.plugins) {
14
- plugins.push(...baseConfig.plugins);
15
- }
16
-
17
- if (github) {
18
- plugins.push([
19
- "@semantic-release/exec",
20
- {
21
- verifyConditionsCmd:
22
- 'echo "registry=https://npm.pkg.github.com/\n//npm.pkg.github.com/:_authToken=${process.env.GITHUB_TOKEN}" > /tmp/github.npmrc && npm whoami --userconfig /tmp/github.npmrc',
23
- publishCmd:
24
- "npm publish --userconfig /tmp/github.npmrc --tag ${nextRelease.channel} --no-git-tag-version",
25
- successCmd: "rm /tmp/github.npmrc",
26
- failCmd: "rm /tmp/github.npmrc",
27
- },
28
- ]);
29
- }
30
-
31
- if (jsr) {
32
- plugins.push("@sebbo2002/semantic-release-jsr");
33
- }
34
-
35
- return {
36
- ...baseConfig,
37
- plugins,
38
- };
39
- };
40
-
41
- export default config();
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob-patterns.d.ts","sourceRoot":"","sources":["../../../eslint/lib/glob-patterns.js"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-options.d.ts","sourceRoot":"","sources":["../../../eslint/lib/rule-options.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2HE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"javascript-browser.d.ts","sourceRoot":"","sources":["../../../eslint/presets/javascript-browser.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,sCADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAMzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"javascript-node.d.ts","sourceRoot":"","sources":["../../../eslint/presets/javascript-node.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,mCADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAMzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../../eslint/presets/javascript.js"],"names":[],"mappings":"AAIA,+CAA+C;AAC/C,+BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CACoC"}
@@ -1,2 +0,0 @@
1
- export { default } from "../javascript-node.js";
2
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../../eslint/presets/javascript.test/eslint.config.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../eslint/presets/javascript.test/main.js"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export const a: 1;
2
- export const b: 2;
3
- //# sourceMappingURL=other.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"other.d.ts","sourceRoot":"","sources":["../../../../eslint/presets/javascript.test/other.js"],"names":[],"mappings":"AAAA,gBAAiB,CAAC,CAAC;AACnB,gBAAiB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript-node.d.ts","sourceRoot":"","sources":["../../../eslint/presets/typescript-node.js"],"names":[],"mappings":"AAMA,+CAA+C;AAC/C,mCADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAOzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript-react.d.ts","sourceRoot":"","sources":["../../../eslint/presets/typescript-react.js"],"names":[],"mappings":"AAOA,+CAA+C;AAC/C,oCADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAQzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../eslint/presets/typescript.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,+BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAMzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../eslint/rules/base.js"],"names":[],"mappings":"AAOA,+CAA+C;AAC/C,mBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAQzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../eslint/rules/browser.js"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,sBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAOzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../../eslint/rules/javascript.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,yBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAqJzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../eslint/rules/node.js"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,mBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAOzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../eslint/rules/react.js"],"names":[],"mappings":"AAUA,+CAA+C;AAC/C,oBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CA4JzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../eslint/rules/typescript.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,yBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAsMvC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsx-no-literals.d.ts","sourceRoot":"","sources":["../../../eslint/styles/jsx-no-literals.js"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,4BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CA0BzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-default-export.d.ts","sourceRoot":"","sources":["../../../eslint/styles/no-default-export.js"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,8BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAgBzC"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
2
- export default _default;
3
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-default-export.test/eslint.config.js"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- declare const _default: "Should not work";
2
- export default _default;
3
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-default-export.test/main.ts"],"names":[],"mappings":"wBACe,iBAAiB;AAAhC,wBAAiC"}
@@ -1,3 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
3
- //# sourceMappingURL=vitest.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-default-export.test/vitest.config.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-null.d.ts","sourceRoot":"","sources":["../../../eslint/styles/no-null.js"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,qBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAOzC"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
2
- export default _default;
3
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-null.test/eslint.config.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare const shouldError: null;
2
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-null.test/main.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,MAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"prefer-array-shorthand.d.ts","sourceRoot":"","sources":["../../../eslint/styles/prefer-array-shorthand.js"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,mCADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAYzC"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
2
- export default _default;
3
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/prefer-array-shorthand.test/eslint.config.js"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type ShouldError1 = Array<string>;
2
- export type ShouldError2 = Array<string | number>;
3
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/prefer-array-shorthand.test/main.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"prefer-interface.d.ts","sourceRoot":"","sources":["../../../eslint/styles/prefer-interface.js"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,8BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAOzC"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
2
- export default _default;
3
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/prefer-interface.test/eslint.config.js"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export type ShouldError = {
2
- name: string;
3
- };
4
- export interface ShouldWork {
5
- name: string;
6
- }
7
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/prefer-interface.test/main.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,4 +0,0 @@
1
- /** @type {import("prettier").Config} */
2
- export const config: import("prettier").Config;
3
- export default config;
4
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../prettier/base.js"],"names":[],"mappings":"AAoBA,wCAAwC;AACxC,qBADW,OAAO,UAAU,EAAE,MAAM,CAYlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../semantic-release/base.js"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,qBADW,OAAO,kBAAkB,EAAE,OAAO,CAsC3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cross-publish.d.ts","sourceRoot":"","sources":["../../semantic-release/cross-publish.js"],"names":[],"mappings":"AAMO,yCAHI;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,OAAO,CAAA;CAAE,GAC/B,OAAO,kBAAkB,EAAE,OAAO,CAkC9C"}