@eslinted/core 4.0.1 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. package/.markdownlint.jsonc +124 -0
  2. package/package.json +45 -16
  3. package/tsconfig.json +5 -4
  4. /package/{types → typings}/typioca/literals/number/bases/base32.d.ts +0 -0
  5. /package/{types → typings}/typioca/literals/number/bases/base64.d.ts +0 -0
  6. /package/{types → typings}/typioca/literals/number/bases/binary.d.ts +0 -0
  7. /package/{types → typings}/typioca/literals/number/bases/decimal.d.ts +0 -0
  8. /package/{types → typings}/typioca/literals/number/bases/hex.d.ts +0 -0
  9. /package/{types → typings}/typioca/literals/number/bases/octal.d.ts +0 -0
  10. /package/{types → typings}/typioca/literals/number/bases/quatral.d.ts +0 -0
  11. /package/{types → typings}/typioca/literals/number/bases/ternary.d.ts +0 -0
  12. /package/{types → typings}/typioca/literals/string/letter/digit/extended/base64/index.d.ts +0 -0
  13. /package/{types → typings}/typioca/literals/string/letter/digit/extended/hex/index.d.ts +0 -0
  14. /package/{types → typings}/typioca/literals/string/letter/digit/index.d.ts +0 -0
  15. /package/{types → typings}/typioca/literals/string/letter/index.d.ts +0 -0
  16. /package/{types → typings}/typioca/primitive/index.d.ts +0 -0
  17. /package/{types → typings}/typioca/safe/index.d.ts +0 -0
  18. /package/{types → typings}/typioca/safe/numbers/finite/index.d.ts +0 -0
  19. /package/{types → typings}/typioca/safe/numbers/fint.d.ts +0 -0
  20. /package/{types → typings}/typioca/safe/numbers/integer/index.d.ts +0 -0
  21. /package/{types → typings}/typioca/safe/numbers/integer/numberful/index.d.ts +0 -0
  22. /package/{types → typings}/typioca/safe/numbers/polarity/Negative.d.ts +0 -0
  23. /package/{types → typings}/typioca/safe/numbers/polarity/Positive.d.ts +0 -0
  24. /package/{types → typings}/typioca/safe/numbers/polarity/pole/index.d.ts +0 -0
  25. /package/{types → typings}/typioca/safe/strings/char.d.ts +0 -0
  26. /package/{types → typings}/typioca/safe/strings/stringful/index.d.ts +0 -0
  27. /package/{types → typings}/typioca/safe/strings/stringful/length/index.d.ts +0 -0
  28. /package/{types → typings}/typioca/utility/interface/build/particord/index.d.ts +0 -0
  29. /package/{types → typings}/typioca/utility/interface/build/properties/Field.d.ts +0 -0
  30. /package/{types → typings}/typioca/utility/interface/build/properties/Flag.d.ts +0 -0
  31. /package/{types → typings}/typioca/utility/interface/build/properties/Limit.d.ts +0 -0
  32. /package/{types → typings}/typioca/utility/interface/build/properties/List.d.ts +0 -0
  33. /package/{types → typings}/typioca/utility/interface/build/properties/Listish.d.ts +0 -0
  34. /package/{types → typings}/typioca/utility/interface/build/properties/Scalar.d.ts +0 -0
  35. /package/{types → typings}/typioca/utility/interface/build/properties/property/index.d.ts +0 -0
  36. /package/{types → typings}/typioca/utility/interface/build/recordful/index.d.ts +0 -0
  37. /package/{types → typings}/typioca/utility/interface/build/tables/FieldTable.d.ts +0 -0
  38. /package/{types → typings}/typioca/utility/interface/build/tables/FlagTable.d.ts +0 -0
  39. /package/{types → typings}/typioca/utility/interface/build/tables/ListTable.d.ts +0 -0
  40. /package/{types → typings}/typioca/utility/interface/build/tables/ListishTable.d.ts +0 -0
  41. /package/{types → typings}/typioca/utility/interface/build/tables/ScalarTable.d.ts +0 -0
  42. /package/{types → typings}/typioca/utility/interface/build/tables/table/index.d.ts +0 -0
  43. /package/{types → typings}/typioca/utility/interface/identity/interface/index.d.ts +0 -0
  44. /package/{types → typings}/typioca/utility/interface/identity/keys/index.d.ts +0 -0
  45. /package/{types → typings}/typioca/utility/interface/transform/partial/unrequire/index.d.ts +0 -0
  46. /package/{types → typings}/typioca/utility/iterable/build/arrays/array/index.d.ts +0 -0
  47. /package/{types → typings}/typioca/utility/iterable/build/arrays/index.d.ts +0 -0
  48. /package/{types → typings}/typioca/utility/iterable/build/tuples/index.d.ts +0 -0
  49. /package/{types → typings}/typioca/utility/iterable/build/tuples/tuple/index.d.ts +0 -0
  50. /package/{types → typings}/typioca/utility/iterable/identity/array/index.d.ts +0 -0
  51. /package/{types → typings}/typioca/utility/iterable/identity/array/length/index.d.ts +0 -0
  52. /package/{types → typings}/typioca/utility/iterable/identity/dyad.d.ts +0 -0
  53. /package/{types → typings}/typioca/utility/iterable/identity/monad.d.ts +0 -0
  54. /package/{types → typings}/typioca/utility/iterable/identity/triad.d.ts +0 -0
  55. /package/{types → typings}/typioca/utility/iterable/transform/flat/index.d.ts +0 -0
  56. /package/{types → typings}/typioca/utility/iterable/transform/flat/unflat/index.d.ts +0 -0
  57. /package/{types → typings}/typioca/utility/iterable/transform/string/index.d.ts +0 -0
  58. /package/{types → typings}/typioca/utility/iterable/transform/string/stringify/index.d.ts +0 -0
  59. /package/{types → typings}/typioca/utility/nullable/index.d.ts +0 -0
  60. /package/{types → typings}/typioca/utility/nullable/null/index.d.ts +0 -0
  61. /package/{types → typings}/typioca/utility/object/build/index.d.ts +0 -0
  62. /package/{types → typings}/typioca/utility/primitive/boolean/true/index.d.ts +0 -0
  63. /package/{types → typings}/typioca/utility/primitive/index.d.ts +0 -0
  64. /package/{types → typings}/typioca/utility/primitive/number/length/index.d.ts +0 -0
  65. /package/{types → typings}/typioca/utility/primitive/number/length/numbered/index.d.ts +0 -0
  66. /package/{types → typings}/typioca/utility/primitive/string/fake/index.d.ts +0 -0
  67. /package/{types → typings}/typioca/utility/primitive/string/literalful/index.d.ts +0 -0
  68. /package/{types → typings}/typioca/utility/primitive/string/literalful/literal/index.d.ts +0 -0
@@ -0,0 +1,124 @@
1
+ {
2
+ // v0.35.0
3
+ // https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/Rules.md
4
+ // "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.35.0/schema/markdownlint-config-schema.json",
5
+ "heading-increment": true /* MD001 */,
6
+ "heading-style": {
7
+ "style": "atx",
8
+ } /* MD003 */,
9
+ "ul-style": {
10
+ "style": "sublist",
11
+ } /* MD004 */,
12
+ "list-indent": true /* MD005 */,
13
+ "ul-indent": {
14
+ "indent": 2,
15
+ "start_indent": 2,
16
+ "start_indented": false,
17
+ } /* MD007 */,
18
+ "no-trailing-spaces": {
19
+ "br_spaces": 0,
20
+ "list_item_empty_lines": false,
21
+ "strict": true,
22
+ } /* MD009 */,
23
+ "no-hard-tabs": {
24
+ "spaces_per_tab": 2,
25
+ "code_blocks": true,
26
+ "ignore_code_languages": [],
27
+ } /* MD010 */,
28
+ "no-reversed-links": false /* MD011 */,
29
+ "no-multiple-blanks": {
30
+ "maximum": 1,
31
+ } /* MD012 */,
32
+ "line-length": false /* MD013 */,
33
+ "commands-show-output": true /* MD014 */,
34
+ "no-missing-space-atx": true /* MD018 */,
35
+ "no-multiple-space-atx": true /* MD019 */,
36
+ "no-missing-space-closed-atx": true /* MD020 */,
37
+ "no-multiple-space-closed-atx": true /* MD021 */,
38
+ "blanks-around-headings": {
39
+ "lines_above": 1,
40
+ "lines_below": 0,
41
+ } /* MD022 */,
42
+ "heading-start-left": true /* MD023 */,
43
+ "no-duplicate-heading": {
44
+ "siblings_only": true,
45
+ } /* MD024 */,
46
+ "single-title": false /* MD025, single-h1 */,
47
+ "no-trailing-punctuation": {
48
+ "punctuation": "" /* @DEFAULT: .,;:!。,;:! */,
49
+ } /* MD026 */,
50
+ "no-multiple-space-blockquote": true /* MD027 */,
51
+ "no-blanks-blockquote": true /* MD028 */,
52
+ "ol-prefix": {
53
+ "style": "one_or_ordered",
54
+ } /* MD029 */,
55
+ "list-marker-space": {
56
+ "ol_multi": 1,
57
+ "ol_single": 1,
58
+ "ul_multi": 1,
59
+ "ul_single": 1,
60
+ } /* MD030 */,
61
+ "blanks-around-fences": {
62
+ "list_items": false,
63
+ } /* MD031 */,
64
+ "blanks-around-lists": true /* MD032 */,
65
+ "no-inline-html": {
66
+ "allowed_elements": [
67
+ "br",
68
+ "details",
69
+ "summary",
70
+ ],
71
+ } /* MD033 */,
72
+ "no-bare-urls": true /* MD034 */,
73
+ "hr-style": {
74
+ "style": "---",
75
+ } /* MD035 */,
76
+ "no-emphasis-as-heading": false /* MD036 */,
77
+ "no-space-in-emphasis": true /* MD037 */,
78
+ "no-space-in-code": true /* MD038 */,
79
+ "no-space-in-links": true /* MD039 */,
80
+ "fenced-code-language": {
81
+ "allowed_languages": [],
82
+ "language_only": false,
83
+ } /* MD040 */,
84
+ "first-line-heading": false /* MD041, first-line-h1 */,
85
+ "no-empty-links": true /* MD042 */,
86
+ "required-headings": false /* MD043 */,
87
+ "proper-names": false /* MD044 */,
88
+ "no-alt-text": true /* MD045 */,
89
+ "code-block-style": {
90
+ "style": "fenced",
91
+ } /* MD046 */,
92
+ "single-trailing-newline": true /* MD047 */,
93
+ "code-fence-style": {
94
+ "style": "backtick",
95
+ } /* MD048 */,
96
+ "emphasis-style": {
97
+ "style": "underscore",
98
+ } /* MD049 */,
99
+ "strong-style": {
100
+ "style": "underscore",
101
+ } /* MD050 */,
102
+ "link-fragments": true /* MD051 */,
103
+ "reference-links-images": {
104
+ "shortcut_syntax": false,
105
+ } /* MD052 */,
106
+ "link-image-reference-definitions": {
107
+ "ignored_definitions": [
108
+ "//",
109
+ ] /* @DEFAULT: ["//"] */,
110
+ } /* MD053 */,
111
+ "link-image-style": {
112
+ "autolink": true,
113
+ "collapsed": true,
114
+ "full": true,
115
+ "inline": true,
116
+ "shortcut": true,
117
+ "url_inline": true,
118
+ } /* MD054 */,
119
+ "table-pipe-style": {
120
+ "style": "leading_and_trailing",
121
+ } /* MD055 */,
122
+ "table-column-count": true /* MD056 */,
123
+ "blanks-around-tables": false /* MD058 */,
124
+ }
package/package.json CHANGED
@@ -1,20 +1,25 @@
1
1
  {
2
- "_schemaVersion": "20.17.8",
2
+ "_schemaVersion": "20.17.10",
3
3
  "name": "@eslinted/core",
4
- "version": "4.0.1",
4
+ "version": "4.0.3",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
+ "repository": "github:jimmy-zhening-luo/linted-core",
8
+ "homepage": "https://github.com/jimmy-zhening-luo/linted-core#readme",
9
+ "bugs": "https://github.com/jimmy-zhening-luo/linted-core/issues",
7
10
  "license": "MIT",
8
11
  "private": false,
9
12
  "publishConfig": {
10
13
  "access": "public"
11
14
  },
12
- "repository": "github:jimmy-zhening-luo/linted-core",
13
- "homepage": "https://github.com/jimmy-zhening-luo/linted-core#readme",
14
- "bugs": "https://github.com/jimmy-zhening-luo/linted-core/issues",
15
15
  "type": "module",
16
16
  "main": "dist/index.js",
17
17
  "types": "dist/index.d.ts",
18
+ "config": {
19
+ "language": "ts",
20
+ "fix": "true",
21
+ "lint": "false"
22
+ },
18
23
  "engineStrict": true,
19
24
  "engines": {
20
25
  "node": ">=20.17.0",
@@ -26,23 +31,47 @@
26
31
  },
27
32
  "devDependencies": {
28
33
  "npm-run-all": "^4.1.5",
34
+ "run-script-os": "^1.1.6",
35
+ "ts-add-js-extension": "^1.6.4",
29
36
  "typescript": "^5.6.3"
30
37
  },
31
38
  "scripts": {
32
- "build": "run-s \"build:{1}:*\" lint:built -- ts",
33
- "build:ts:compile": "tsc",
34
- "build:svelte:sync": "svelte-kit sync",
35
- "build:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
36
- "build:svelte:compile": "vite build",
37
- "build:svelte:prelint": "npm run ln src/**/*.svelte",
39
+ "build": "run-os",
40
+ "build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_fix $npm_package_config_lint default",
41
+ "build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_fix% %npm_package_config_lint% windows",
42
+ "rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" --",
43
+ "clean:ts:default": "rm -rf dist",
44
+ "clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
45
+ "clean:svelte:default": "rm -rf build .svelte-kit",
46
+ "clean:svelte:windows": "run-s clean:svelte:windows:*",
47
+ "clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
48
+ "clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
49
+ "compile:ts:compile": "tsc",
50
+ "compile:svelte:sync": "svelte-kit sync",
51
+ "compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
52
+ "compile:svelte:compile": "vite build",
53
+ "fix:true": "run-s \"fix:dist:{1}\" --",
54
+ "fix:false": "echo \"Fix skipped (fix=false)\"",
55
+ "fix:dist:ts": "ts-add-js-extension --dir=dist",
56
+ "fix:dist:svelte": "echo \"Fix skipped for Svelte (handled by SvelteKit)\"",
57
+ "li": "eslint --cache --fix",
38
58
  "lint": "npm run build",
39
- "lint:built": "run-s lint:built:*",
40
- "lint:built:configs": "npm run ln --files={*,.github/workflows/*}.{json,jsonc,js,ts,yml}",
41
- "lint:built:source": "npm run ln --files=src/**/*.{js,ts,html}",
42
- "ln": "eslint --cache --fix --no-error-on-unmatched-pattern %npm_config_files% || echo \"No linter installed.\"",
59
+ "lint:true": "run-os",
60
+ "lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
61
+ "lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
62
+ "lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
63
+ "lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
64
+ "lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
65
+ "lint:scope:ts": "exit 0",
66
+ "lint:scope:svelte": "npm run li -- {src,tests,static}/**/*.svelte",
67
+ "postbuild": "echo \"Build (+lint) complete.\"",
43
68
  "pretest": "npm run build",
44
69
  "test": "",
45
- "start": "vite preview || node .",
70
+ "start": "run-os",
71
+ "start:default": "npm run starter:$npm_package_config_language",
72
+ "start:windows": "npm run starter:%npm_package_config_language%",
73
+ "starter:ts": "node .",
74
+ "starter:svelte": "vite preview",
46
75
  "prestart": "npm test",
47
76
  "prepublishOnly": "npm test",
48
77
  "predeploy": "npm test",
package/tsconfig.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "display": "@jimbojet/tsc",
3
3
  "$schema": "https://json.schemastore.org/tsconfig",
4
- "_version": "5.5.10",
4
+ "_version": "5.6.1",
5
5
  "include": [
6
6
  "*.config.ts",
7
7
  "src/**/*.ts",
8
- "types/**/*.d.ts" /* @OVERRIDE */,
8
+ "tests/**/*.ts",
9
+ "typings/**/*.d.ts",
9
10
  ],
10
11
  "exclude": [],
11
12
  "compilerOptions": {
@@ -40,8 +41,8 @@
40
41
  // "allowUmdGlobalAccess": true,
41
42
  // "baseUrl": "./",
42
43
  // "customConditions": [],
43
- "module": "node16",
44
- "moduleResolution": "node16",
44
+ "module": "es2022",
45
+ "moduleResolution": "bundler",
45
46
  // "moduleSuffixes": [],
46
47
  // "noResolve": true,
47
48
  // "paths": { "*": ["node_modules/*"] },
File without changes
File without changes