@eslinted/core 29.4.0 → 29.4.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/.mocharc.yml +3 -3
 - package/package.json +16 -15
 - package/src/tsconfig.json +11 -0
 - package/{src → tests}/index.spec.ts +1 -1
 - package/tests/index.ts +11 -0
 - package/tests/tsconfig.json +17 -0
 - package/tsconfig-base.json +27 -0
 - package/tsconfig.json +18 -40
 - package/typings/index.d.ts +0 -0
 - package/typings/tsconfig.json +6 -0
 - package/dist/index.input.spec.d.ts +0 -173
 - package/dist/index.input.spec.d.ts.map +0 -1
 - package/dist/index.input.spec.js +0 -214
 - package/dist/index.input.spec.js.map +0 -1
 - package/dist/index.spec.d.ts +0 -2
 - package/dist/index.spec.d.ts.map +0 -1
 - package/dist/index.spec.js +0 -90
 - package/dist/index.spec.js.map +0 -1
 - /package/{src → tests}/index.input.spec.ts +0 -0
 
    
        package/.mocharc.yml
    CHANGED
    
    | 
         @@ -1,11 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ####################
         
     | 
| 
       2 
2 
     | 
    
         
             
            ###   .mocharc   ###
         
     | 
| 
       3 
     | 
    
         
            -
            ###   1107. 
     | 
| 
      
 3 
     | 
    
         
            +
            ###   1107.1.0   ###
         
     | 
| 
       4 
4 
     | 
    
         
             
            ####################
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            # https://mochajs.org/#configuration-format
         
     | 
| 
       7 
7 
     | 
    
         
             
            # https://mochajs.org/#command-line-usage
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
            spec: [dist/**/*.spec.js]
         
     | 
| 
       10 
9 
     | 
    
         
             
            extension: [js]
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
      
 10 
     | 
    
         
            +
            require: dist-tests/index.js
         
     | 
| 
      
 11 
     | 
    
         
            +
            spec: [dist-tests/**/*.spec.js]
         
     | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,9 +1,9 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
     | 
    
         
            -
              "$pkg": "2411. 
     | 
| 
      
 2 
     | 
    
         
            +
              "$pkg": "2411.4.1",
         
     | 
| 
       3 
3 
     | 
    
         
             
              "$schema": "https://json.schemastore.org/package",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "name": "@eslinted/core",
         
     | 
| 
       6 
     | 
    
         
            -
              "version": "29.4. 
     | 
| 
      
 6 
     | 
    
         
            +
              "version": "29.4.1",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "repository": "github:jimmy-zhening-luo/linted-core",
         
     | 
| 
       8 
8 
     | 
    
         
             
              "description": "Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.",
         
     | 
| 
       9 
9 
     | 
    
         
             
              "keywords": [],
         
     | 
| 
         @@ -15,6 +15,8 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                "npm": "^11"
         
     | 
| 
       16 
16 
     | 
    
         
             
              },
         
     | 
| 
       17 
17 
     | 
    
         
             
              "type": "module",
         
     | 
| 
      
 18 
     | 
    
         
            +
              "main": "dist/index.js",
         
     | 
| 
      
 19 
     | 
    
         
            +
              "types": "types/index.d.ts",
         
     | 
| 
       18 
20 
     | 
    
         
             
              "peerDependenciesMeta": {},
         
     | 
| 
       19 
21 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       20 
22 
     | 
    
         
             
                "@eslint/config-helpers": "^0.4.2"
         
     | 
| 
         @@ -27,26 +29,25 @@ 
     | 
|
| 
       27 
29 
     | 
    
         
             
                "ts-add-js-extension": "^1.6.6",
         
     | 
| 
       28 
30 
     | 
    
         
             
                "typescript": "^5.9.3"
         
     | 
| 
       29 
31 
     | 
    
         
             
              },
         
     | 
| 
       30 
     | 
    
         
            -
              "main": "dist/index.js",
         
     | 
| 
       31 
     | 
    
         
            -
              "types": "dist/index.d.ts",
         
     | 
| 
       32 
32 
     | 
    
         
             
              "scripts": {
         
     | 
| 
       33 
     | 
    
         
            -
                "clean": "cmd --% /c \"( 
     | 
| 
       34 
     | 
    
         
            -
                " 
     | 
| 
       35 
     | 
    
         
            -
                "build 
     | 
| 
       36 
     | 
    
         
            -
                "build:ts": "tsc && ts-add-js-extension --dir=dist --showprogress=false",
         
     | 
| 
      
 33 
     | 
    
         
            +
                "clean": "cmd --% /c \"for %G in (types dist dist-tests build packed) do (if exist %G rmdir /s /q %G) & for %G in (.eslintcache) do (if exist %G del /f /q %G)\" || rm -rf types dist dist-tests build packed .eslintcache",
         
     | 
| 
      
 34 
     | 
    
         
            +
                "build": "npm run build:ts",
         
     | 
| 
      
 35 
     | 
    
         
            +
                "build:ts": "tsc -b src",
         
     | 
| 
       37 
36 
     | 
    
         
             
                "build:svelte": "svelte-kit sync && svelte-check && vite build",
         
     | 
| 
       38 
     | 
    
         
            -
                "postbuild": "npm run  
     | 
| 
      
 37 
     | 
    
         
            +
                "postbuild:ts": "npm run --if-present stage && ts-add-js-extension --showprogress=false --dir=dist",
         
     | 
| 
      
 38 
     | 
    
         
            +
                "postbuild": "npm run lint || exit 0",
         
     | 
| 
       39 
39 
     | 
    
         
             
                "lint": "eslint --cache --fix",
         
     | 
| 
       40 
40 
     | 
    
         
             
                "pretest": "npm run build",
         
     | 
| 
       41 
     | 
    
         
            -
                "test": "npm run --if-present test: 
     | 
| 
       42 
     | 
    
         
            -
                "test: 
     | 
| 
       43 
     | 
    
         
            -
                "prestart": "npm run  
     | 
| 
       44 
     | 
    
         
            -
                "start": " 
     | 
| 
      
 41 
     | 
    
         
            +
                "test": "npm run --if-present test:suite",
         
     | 
| 
      
 42 
     | 
    
         
            +
                "test:suite": "tsc -b tests && ts-add-js-extension --showprogress=false --dir=dist-tests --include=dist && mocha",
         
     | 
| 
      
 43 
     | 
    
         
            +
                "prestart": "npm run build",
         
     | 
| 
      
 44 
     | 
    
         
            +
                "start": "npm run start:ts",
         
     | 
| 
       45 
45 
     | 
    
         
             
                "start:ts": "node .",
         
     | 
| 
       46 
46 
     | 
    
         
             
                "start:svelte": "vite preview --open",
         
     | 
| 
       47 
     | 
    
         
            -
                "prepublishOnly": "npm test",
         
     | 
| 
      
 47 
     | 
    
         
            +
                "prepublishOnly": "npm run clean && npm test",
         
     | 
| 
       48 
48 
     | 
    
         
             
                "publish:release": "cmd --% /c \"for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" (npm publish) else (npm publish --tag=next)\" || bash -c 'if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm publish; else npm publish --tag=next; fi'",
         
     | 
| 
       49 
     | 
    
         
            -
                "predeploy": "npm test",
         
     | 
| 
      
 49 
     | 
    
         
            +
                "predeploy": "npm run clean && npm test",
         
     | 
| 
      
 50 
     | 
    
         
            +
                "stage": "",
         
     | 
| 
       50 
51 
     | 
    
         
             
                "deploy": ""
         
     | 
| 
       51 
52 
     | 
    
         
             
              },
         
     | 
| 
       52 
53 
     | 
    
         
             
              "author": "Jimmy Zhening Luo <jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
         
     | 
    
        package/tests/index.ts
    ADDED
    
    
| 
         @@ -0,0 +1,17 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {
         
     | 
| 
      
 2 
     | 
    
         
            +
              "extends": "../tsconfig.json",
         
     | 
| 
      
 3 
     | 
    
         
            +
              "include": [
         
     | 
| 
      
 4 
     | 
    
         
            +
                "../src/**/*",
         
     | 
| 
      
 5 
     | 
    
         
            +
                "../typings/**/*",
         
     | 
| 
      
 6 
     | 
    
         
            +
                "**/*",
         
     | 
| 
      
 7 
     | 
    
         
            +
              ],
         
     | 
| 
      
 8 
     | 
    
         
            +
              "references": [
         
     | 
| 
      
 9 
     | 
    
         
            +
                {
         
     | 
| 
      
 10 
     | 
    
         
            +
                  "path": "../src/tsconfig.json",
         
     | 
| 
      
 11 
     | 
    
         
            +
                },
         
     | 
| 
      
 12 
     | 
    
         
            +
              ],
         
     | 
| 
      
 13 
     | 
    
         
            +
              "compilerOptions": {
         
     | 
| 
      
 14 
     | 
    
         
            +
                "rootDir": ".",
         
     | 
| 
      
 15 
     | 
    
         
            +
                "outDir": "../dist-tests",
         
     | 
| 
      
 16 
     | 
    
         
            +
              },
         
     | 
| 
      
 17 
     | 
    
         
            +
            }
         
     | 
| 
         @@ -0,0 +1,27 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {
         
     | 
| 
      
 2 
     | 
    
         
            +
              "display": "tsc@509.4.0",
         
     | 
| 
      
 3 
     | 
    
         
            +
              "$help": "https://aka.ms/tsconfig/#quick-nav-Top%20Level",
         
     | 
| 
      
 4 
     | 
    
         
            +
              "compilerOptions": {
         
     | 
| 
      
 5 
     | 
    
         
            +
                "allowUnreachableCode": false,
         
     | 
| 
      
 6 
     | 
    
         
            +
                "allowUnusedLabels": false,
         
     | 
| 
      
 7 
     | 
    
         
            +
                "exactOptionalPropertyTypes": true,
         
     | 
| 
      
 8 
     | 
    
         
            +
                "noFallthroughCasesInSwitch": true,
         
     | 
| 
      
 9 
     | 
    
         
            +
                "noImplicitOverride": true,
         
     | 
| 
      
 10 
     | 
    
         
            +
                "noImplicitReturns": true,
         
     | 
| 
      
 11 
     | 
    
         
            +
                "noPropertyAccessFromIndexSignature": true,
         
     | 
| 
      
 12 
     | 
    
         
            +
                "noUncheckedIndexedAccess": true,
         
     | 
| 
      
 13 
     | 
    
         
            +
                "noUnusedLocals": true,
         
     | 
| 
      
 14 
     | 
    
         
            +
                "noUnusedParameters": true,
         
     | 
| 
      
 15 
     | 
    
         
            +
                "strict": true,
         
     | 
| 
      
 16 
     | 
    
         
            +
                "allowArbitraryExtensions": true,
         
     | 
| 
      
 17 
     | 
    
         
            +
                "module": "esnext",
         
     | 
| 
      
 18 
     | 
    
         
            +
                "moduleResolution": "bundler",
         
     | 
| 
      
 19 
     | 
    
         
            +
                "rewriteRelativeImportExtensions": true,
         
     | 
| 
      
 20 
     | 
    
         
            +
                "declarationMap": true,
         
     | 
| 
      
 21 
     | 
    
         
            +
                "noEmitOnError": true,
         
     | 
| 
      
 22 
     | 
    
         
            +
                "removeComments": true,
         
     | 
| 
      
 23 
     | 
    
         
            +
                "sourceMap": true,
         
     | 
| 
      
 24 
     | 
    
         
            +
                "target": "esnext",
         
     | 
| 
      
 25 
     | 
    
         
            +
                "composite": true,
         
     | 
| 
      
 26 
     | 
    
         
            +
              },
         
     | 
| 
      
 27 
     | 
    
         
            +
            }
         
     | 
    
        package/tsconfig.json
    CHANGED
    
    | 
         @@ -1,56 +1,34 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
     | 
    
         
            -
              " 
     | 
| 
       3 
     | 
    
         
            -
              " 
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
                 
     | 
| 
      
 2 
     | 
    
         
            +
              "files": [],
         
     | 
| 
      
 3 
     | 
    
         
            +
              "extends": "./tsconfig-base.json",
         
     | 
| 
      
 4 
     | 
    
         
            +
              "references": [
         
     | 
| 
      
 5 
     | 
    
         
            +
                {
         
     | 
| 
      
 6 
     | 
    
         
            +
                  "path": "src/tsconfig.json",
         
     | 
| 
      
 7 
     | 
    
         
            +
                },
         
     | 
| 
      
 8 
     | 
    
         
            +
                {
         
     | 
| 
      
 9 
     | 
    
         
            +
                  "path": "tests/tsconfig.json",
         
     | 
| 
      
 10 
     | 
    
         
            +
                },
         
     | 
| 
      
 11 
     | 
    
         
            +
                {
         
     | 
| 
      
 12 
     | 
    
         
            +
                  "path": "typings/tsconfig.json",
         
     | 
| 
      
 13 
     | 
    
         
            +
                },
         
     | 
| 
       6 
14 
     | 
    
         
             
              ],
         
     | 
| 
       7 
15 
     | 
    
         
             
              "compilerOptions": {
         
     | 
| 
       8 
     | 
    
         
            -
                " 
     | 
| 
       9 
     | 
    
         
            -
                " 
     | 
| 
       10 
     | 
    
         
            -
                "exactOptionalPropertyTypes": true,
         
     | 
| 
       11 
     | 
    
         
            -
                "noFallthroughCasesInSwitch": true,
         
     | 
| 
       12 
     | 
    
         
            -
                "noImplicitOverride": true,
         
     | 
| 
       13 
     | 
    
         
            -
                "noImplicitReturns": true,
         
     | 
| 
       14 
     | 
    
         
            -
                "noPropertyAccessFromIndexSignature": true,
         
     | 
| 
       15 
     | 
    
         
            -
                "noUncheckedIndexedAccess": true,
         
     | 
| 
       16 
     | 
    
         
            -
                "noUnusedLocals": true,
         
     | 
| 
       17 
     | 
    
         
            -
                "noUnusedParameters": true,
         
     | 
| 
       18 
     | 
    
         
            -
                "strict": true,
         
     | 
| 
       19 
     | 
    
         
            -
                "allowArbitraryExtensions": true,
         
     | 
| 
       20 
     | 
    
         
            -
                "module": "esnext",
         
     | 
| 
       21 
     | 
    
         
            -
                "moduleResolution": "bundler",
         
     | 
| 
       22 
     | 
    
         
            -
                // "paths": {},
         
     | 
| 
       23 
     | 
    
         
            -
                // "resolveJsonModule": true,
         
     | 
| 
       24 
     | 
    
         
            -
                // "resolvePackageJsonExports": true,
         
     | 
| 
       25 
     | 
    
         
            -
                // "resolvePackageJsonImports": true,
         
     | 
| 
       26 
     | 
    
         
            -
                "rewriteRelativeImportExtensions": true,
         
     | 
| 
       27 
     | 
    
         
            -
                // "rootDir": "src",
         
     | 
| 
       28 
     | 
    
         
            -
                // "rootDirs": [],
         
     | 
| 
       29 
     | 
    
         
            -
                // "typeRoots": [],
         
     | 
| 
      
 16 
     | 
    
         
            +
                // "module": "esnext",
         
     | 
| 
      
 17 
     | 
    
         
            +
                // "moduleResolution": "bundler",
         
     | 
| 
       30 
18 
     | 
    
         
             
                "types": [
         
     | 
| 
       31 
19 
     | 
    
         
             
                  "mocha",
         
     | 
| 
       32 
20 
     | 
    
         
             
                  "chai",
         
     | 
| 
       33 
21 
     | 
    
         
             
                  /* {CONFIGURE} */
         
     | 
| 
       34 
22 
     | 
    
         
             
                ],
         
     | 
| 
       35 
     | 
    
         
            -
                "declaration": true,
         
     | 
| 
       36 
     | 
    
         
            -
                // " 
     | 
| 
       37 
     | 
    
         
            -
                "declarationMap": true,
         
     | 
| 
       38 
     | 
    
         
            -
                // "emitDeclarationOnly": true,
         
     | 
| 
       39 
     | 
    
         
            -
                // "noEmit": true,
         
     | 
| 
       40 
     | 
    
         
            -
                "noEmitOnError": true,
         
     | 
| 
       41 
     | 
    
         
            -
                "outDir": "dist",
         
     | 
| 
       42 
     | 
    
         
            -
                "removeComments": true,
         
     | 
| 
       43 
     | 
    
         
            -
                "sourceMap": true,
         
     | 
| 
       44 
     | 
    
         
            -
                // "allowJs": true,
         
     | 
| 
       45 
     | 
    
         
            -
                // "checkJs": true,
         
     | 
| 
       46 
     | 
    
         
            -
                // "isolatedDeclarations": false,
         
     | 
| 
      
 23 
     | 
    
         
            +
                // "declaration": true,
         
     | 
| 
      
 24 
     | 
    
         
            +
                // "sourceMap": false,
         
     | 
| 
       47 
25 
     | 
    
         
             
                // "verbatimModuleSyntax": true,
         
     | 
| 
       48 
26 
     | 
    
         
             
                "lib": [
         
     | 
| 
       49 
27 
     | 
    
         
             
                  "esnext",
         
     | 
| 
       50 
28 
     | 
    
         
             
                  /* {CONFIGURE} */
         
     | 
| 
       51 
29 
     | 
    
         
             
                ],
         
     | 
| 
       52 
     | 
    
         
            -
                "target": "esnext",
         
     | 
| 
       53 
     | 
    
         
            -
                // "composite":  
     | 
| 
      
 30 
     | 
    
         
            +
                // "target": "esnext",
         
     | 
| 
      
 31 
     | 
    
         
            +
                // "composite": false,
         
     | 
| 
       54 
32 
     | 
    
         
             
                // "skipLibCheck": true,
         
     | 
| 
       55 
33 
     | 
    
         
             
              },
         
     | 
| 
       56 
34 
     | 
    
         
             
            }
         
     | 
| 
         
            File without changes
         
     | 
| 
         @@ -1,173 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            declare const enum State {
         
     | 
| 
       2 
     | 
    
         
            -
                OFF = 0,
         
     | 
| 
       3 
     | 
    
         
            -
                WARN = 1,
         
     | 
| 
       4 
     | 
    
         
            -
                ERROR = 2
         
     | 
| 
       5 
     | 
    
         
            -
            }
         
     | 
| 
       6 
     | 
    
         
            -
            export declare const scopes: readonly ["js", "ts", "mocha", "svelte", "html", "json", "jsonc", "jsoncc"], optional: readonly ["svelte"], tree: (readonly ["jsoncc", readonly ["jsonc"]] | readonly ["jsonc", readonly ["json"]] | readonly ["mocha", readonly ["ts"]] | readonly ["svelte", readonly ["ts"]] | readonly ["ts", readonly ["js"]])[], imports: {
         
     | 
| 
       7 
     | 
    
         
            -
                plugins: {
         
     | 
| 
       8 
     | 
    
         
            -
                    "@stylistic": string;
         
     | 
| 
       9 
     | 
    
         
            -
                    "@typescript-eslint": string;
         
     | 
| 
       10 
     | 
    
         
            -
                    mocha: string;
         
     | 
| 
       11 
     | 
    
         
            -
                    "chai-friendly": string;
         
     | 
| 
       12 
     | 
    
         
            -
                    "chai-expect": string;
         
     | 
| 
       13 
     | 
    
         
            -
                    html: string;
         
     | 
| 
       14 
     | 
    
         
            -
                    json: string;
         
     | 
| 
       15 
     | 
    
         
            -
                    jsonc: string;
         
     | 
| 
       16 
     | 
    
         
            -
                };
         
     | 
| 
       17 
     | 
    
         
            -
                parsers: {
         
     | 
| 
       18 
     | 
    
         
            -
                    ts: string;
         
     | 
| 
       19 
     | 
    
         
            -
                    html: string;
         
     | 
| 
       20 
     | 
    
         
            -
                };
         
     | 
| 
       21 
     | 
    
         
            -
            }, settings: {
         
     | 
| 
       22 
     | 
    
         
            -
                ts: {
         
     | 
| 
       23 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       24 
     | 
    
         
            -
                        parser: "ts";
         
     | 
| 
       25 
     | 
    
         
            -
                    };
         
     | 
| 
       26 
     | 
    
         
            -
                };
         
     | 
| 
       27 
     | 
    
         
            -
                svelte: {
         
     | 
| 
       28 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       29 
     | 
    
         
            -
                        parser: "svelte";
         
     | 
| 
       30 
     | 
    
         
            -
                    };
         
     | 
| 
       31 
     | 
    
         
            -
                    parserOptions: {
         
     | 
| 
       32 
     | 
    
         
            -
                        parser: "ts";
         
     | 
| 
       33 
     | 
    
         
            -
                        extraFileExtensions: string[];
         
     | 
| 
       34 
     | 
    
         
            -
                    };
         
     | 
| 
       35 
     | 
    
         
            -
                    processor: string;
         
     | 
| 
       36 
     | 
    
         
            -
                };
         
     | 
| 
       37 
     | 
    
         
            -
                html: {
         
     | 
| 
       38 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       39 
     | 
    
         
            -
                        parser: "html";
         
     | 
| 
       40 
     | 
    
         
            -
                    };
         
     | 
| 
       41 
     | 
    
         
            -
                    parserOptions: {
         
     | 
| 
       42 
     | 
    
         
            -
                        frontmatter: boolean;
         
     | 
| 
       43 
     | 
    
         
            -
                    };
         
     | 
| 
       44 
     | 
    
         
            -
                    language: string;
         
     | 
| 
       45 
     | 
    
         
            -
                };
         
     | 
| 
       46 
     | 
    
         
            -
                json: {
         
     | 
| 
       47 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       48 
     | 
    
         
            -
                        allowTrailingCommas: boolean;
         
     | 
| 
       49 
     | 
    
         
            -
                    };
         
     | 
| 
       50 
     | 
    
         
            -
                    language: string;
         
     | 
| 
       51 
     | 
    
         
            -
                };
         
     | 
| 
       52 
     | 
    
         
            -
            }, configuration: {
         
     | 
| 
       53 
     | 
    
         
            -
                defaults: {
         
     | 
| 
       54 
     | 
    
         
            -
                    files: {
         
     | 
| 
       55 
     | 
    
         
            -
                        js: string[];
         
     | 
| 
       56 
     | 
    
         
            -
                        ts: string[];
         
     | 
| 
       57 
     | 
    
         
            -
                        mocha: string[];
         
     | 
| 
       58 
     | 
    
         
            -
                        svelte: string[];
         
     | 
| 
       59 
     | 
    
         
            -
                        html: string[];
         
     | 
| 
       60 
     | 
    
         
            -
                        json: string[];
         
     | 
| 
       61 
     | 
    
         
            -
                        jsonc: string[];
         
     | 
| 
       62 
     | 
    
         
            -
                        jsoncc: string[];
         
     | 
| 
       63 
     | 
    
         
            -
                    };
         
     | 
| 
       64 
     | 
    
         
            -
                    ignores: {
         
     | 
| 
       65 
     | 
    
         
            -
                        "*": string[];
         
     | 
| 
       66 
     | 
    
         
            -
                        js: string[];
         
     | 
| 
       67 
     | 
    
         
            -
                        json: string[];
         
     | 
| 
       68 
     | 
    
         
            -
                        jsoncc: string[];
         
     | 
| 
       69 
     | 
    
         
            -
                    };
         
     | 
| 
       70 
     | 
    
         
            -
                    rules: {
         
     | 
| 
       71 
     | 
    
         
            -
                        js: ({
         
     | 
| 
       72 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       73 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       74 
     | 
    
         
            -
                                vanilla: State;
         
     | 
| 
       75 
     | 
    
         
            -
                                vanilla0: State;
         
     | 
| 
       76 
     | 
    
         
            -
                                vanilla1: State;
         
     | 
| 
       77 
     | 
    
         
            -
                                vanilla2: State;
         
     | 
| 
       78 
     | 
    
         
            -
                                "@stylistic/style-rule"?: never;
         
     | 
| 
       79 
     | 
    
         
            -
                            };
         
     | 
| 
       80 
     | 
    
         
            -
                        } | {
         
     | 
| 
       81 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       82 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       83 
     | 
    
         
            -
                                "@stylistic/style-rule": State;
         
     | 
| 
       84 
     | 
    
         
            -
                                vanilla?: never;
         
     | 
| 
       85 
     | 
    
         
            -
                                vanilla0?: never;
         
     | 
| 
       86 
     | 
    
         
            -
                                vanilla1?: never;
         
     | 
| 
       87 
     | 
    
         
            -
                                vanilla2?: never;
         
     | 
| 
       88 
     | 
    
         
            -
                            };
         
     | 
| 
       89 
     | 
    
         
            -
                        })[];
         
     | 
| 
       90 
     | 
    
         
            -
                        ts: ({
         
     | 
| 
       91 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       92 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       93 
     | 
    
         
            -
                                vanilla0: State;
         
     | 
| 
       94 
     | 
    
         
            -
                                "@typescript-eslint/enums"?: never;
         
     | 
| 
       95 
     | 
    
         
            -
                                "@typescript-eslint/destructure-expression"?: never;
         
     | 
| 
       96 
     | 
    
         
            -
                                "@typescript-eslint/global"?: never;
         
     | 
| 
       97 
     | 
    
         
            -
                            };
         
     | 
| 
       98 
     | 
    
         
            -
                        } | {
         
     | 
| 
       99 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       100 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       101 
     | 
    
         
            -
                                "@typescript-eslint/enums": State;
         
     | 
| 
       102 
     | 
    
         
            -
                                "@typescript-eslint/destructure-expression": State;
         
     | 
| 
       103 
     | 
    
         
            -
                                "@typescript-eslint/global": State;
         
     | 
| 
       104 
     | 
    
         
            -
                                vanilla0?: never;
         
     | 
| 
       105 
     | 
    
         
            -
                            };
         
     | 
| 
       106 
     | 
    
         
            -
                        })[];
         
     | 
| 
       107 
     | 
    
         
            -
                        mocha: ({
         
     | 
| 
       108 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       109 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       110 
     | 
    
         
            -
                                vanilla2: State;
         
     | 
| 
       111 
     | 
    
         
            -
                                "@typescript-eslint/global"?: never;
         
     | 
| 
       112 
     | 
    
         
            -
                                "mocha/test-expression"?: never;
         
     | 
| 
       113 
     | 
    
         
            -
                            };
         
     | 
| 
       114 
     | 
    
         
            -
                        } | {
         
     | 
| 
       115 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       116 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       117 
     | 
    
         
            -
                                "@typescript-eslint/global": State;
         
     | 
| 
       118 
     | 
    
         
            -
                                vanilla2?: never;
         
     | 
| 
       119 
     | 
    
         
            -
                                "mocha/test-expression"?: never;
         
     | 
| 
       120 
     | 
    
         
            -
                            };
         
     | 
| 
       121 
     | 
    
         
            -
                        } | {
         
     | 
| 
       122 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       123 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       124 
     | 
    
         
            -
                                "mocha/test-expression": State;
         
     | 
| 
       125 
     | 
    
         
            -
                                vanilla2?: never;
         
     | 
| 
       126 
     | 
    
         
            -
                                "@typescript-eslint/global"?: never;
         
     | 
| 
       127 
     | 
    
         
            -
                            };
         
     | 
| 
       128 
     | 
    
         
            -
                        })[];
         
     | 
| 
       129 
     | 
    
         
            -
                        svelte: ({
         
     | 
| 
       130 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       131 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       132 
     | 
    
         
            -
                                vanilla1: State;
         
     | 
| 
       133 
     | 
    
         
            -
                                "svelte/tags"?: never;
         
     | 
| 
       134 
     | 
    
         
            -
                            };
         
     | 
| 
       135 
     | 
    
         
            -
                        } | {
         
     | 
| 
       136 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       137 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       138 
     | 
    
         
            -
                                "svelte/tags": State;
         
     | 
| 
       139 
     | 
    
         
            -
                                vanilla1?: never;
         
     | 
| 
       140 
     | 
    
         
            -
                            };
         
     | 
| 
       141 
     | 
    
         
            -
                        })[];
         
     | 
| 
       142 
     | 
    
         
            -
                        html: {
         
     | 
| 
       143 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       144 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       145 
     | 
    
         
            -
                                "html/attribute": State;
         
     | 
| 
       146 
     | 
    
         
            -
                            };
         
     | 
| 
       147 
     | 
    
         
            -
                        }[];
         
     | 
| 
       148 
     | 
    
         
            -
                        json: {
         
     | 
| 
       149 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       150 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       151 
     | 
    
         
            -
                                "jsonc/property-check": State;
         
     | 
| 
       152 
     | 
    
         
            -
                                "jsonc/comment": readonly [State.ERROR, "never"];
         
     | 
| 
       153 
     | 
    
         
            -
                                "jsonc/trailing-comma": readonly [State.ERROR, "never"];
         
     | 
| 
       154 
     | 
    
         
            -
                            };
         
     | 
| 
       155 
     | 
    
         
            -
                        }[];
         
     | 
| 
       156 
     | 
    
         
            -
                        jsonc: {
         
     | 
| 
       157 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       158 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       159 
     | 
    
         
            -
                                "jsonc/comment": readonly [State.ERROR, "allow"];
         
     | 
| 
       160 
     | 
    
         
            -
                            };
         
     | 
| 
       161 
     | 
    
         
            -
                        }[];
         
     | 
| 
       162 
     | 
    
         
            -
                        jsoncc: {
         
     | 
| 
       163 
     | 
    
         
            -
                            name: string;
         
     | 
| 
       164 
     | 
    
         
            -
                            rules: {
         
     | 
| 
       165 
     | 
    
         
            -
                                "jsonc/trailing-comma": readonly [State.ERROR, "allow"];
         
     | 
| 
       166 
     | 
    
         
            -
                            };
         
     | 
| 
       167 
     | 
    
         
            -
                        }[];
         
     | 
| 
       168 
     | 
    
         
            -
                    };
         
     | 
| 
       169 
     | 
    
         
            -
                };
         
     | 
| 
       170 
     | 
    
         
            -
                extensions: {};
         
     | 
| 
       171 
     | 
    
         
            -
            };
         
     | 
| 
       172 
     | 
    
         
            -
            export {};
         
     | 
| 
       173 
     | 
    
         
            -
            //# sourceMappingURL=index.input.spec.d.ts.map
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.input.spec.d.ts","sourceRoot":"","sources":["../src/index.input.spec.ts"],"names":[],"mappings":"AAAA,mBAAW,KAAK;IACd,GAAG,IAAI;IACP,IAAI,IAAI;IACR,KAAK,IAAI;CACV;AAID,eAAO,MAAM,MAAM,6EAST,EACV,QAAQ,qBAAsB,EAC9B,IAAI,qMAqBH,EACD,OAAO;;;;;;;;;;;;;;;CAeN,EACD,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BP,EACD,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuIZ,CAAC"}
         
     | 
    
        package/dist/index.input.spec.js
    DELETED
    
    | 
         @@ -1,214 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            const Plugin = "MOCK_PLUGIN", Parser = (scope) => `MOCK_PARSER:${scope}`;
         
     | 
| 
       2 
     | 
    
         
            -
            export const scopes = [
         
     | 
| 
       3 
     | 
    
         
            -
                "js",
         
     | 
| 
       4 
     | 
    
         
            -
                "ts",
         
     | 
| 
       5 
     | 
    
         
            -
                "mocha",
         
     | 
| 
       6 
     | 
    
         
            -
                "svelte",
         
     | 
| 
       7 
     | 
    
         
            -
                "html",
         
     | 
| 
       8 
     | 
    
         
            -
                "json",
         
     | 
| 
       9 
     | 
    
         
            -
                "jsonc",
         
     | 
| 
       10 
     | 
    
         
            -
                "jsoncc",
         
     | 
| 
       11 
     | 
    
         
            -
            ], optional = ["svelte"], tree = [
         
     | 
| 
       12 
     | 
    
         
            -
                [
         
     | 
| 
       13 
     | 
    
         
            -
                    "jsoncc",
         
     | 
| 
       14 
     | 
    
         
            -
                    ["jsonc"],
         
     | 
| 
       15 
     | 
    
         
            -
                ],
         
     | 
| 
       16 
     | 
    
         
            -
                [
         
     | 
| 
       17 
     | 
    
         
            -
                    "jsonc",
         
     | 
| 
       18 
     | 
    
         
            -
                    ["json"],
         
     | 
| 
       19 
     | 
    
         
            -
                ],
         
     | 
| 
       20 
     | 
    
         
            -
                [
         
     | 
| 
       21 
     | 
    
         
            -
                    "mocha",
         
     | 
| 
       22 
     | 
    
         
            -
                    ["ts"],
         
     | 
| 
       23 
     | 
    
         
            -
                ],
         
     | 
| 
       24 
     | 
    
         
            -
                [
         
     | 
| 
       25 
     | 
    
         
            -
                    "svelte",
         
     | 
| 
       26 
     | 
    
         
            -
                    ["ts"],
         
     | 
| 
       27 
     | 
    
         
            -
                ],
         
     | 
| 
       28 
     | 
    
         
            -
                [
         
     | 
| 
       29 
     | 
    
         
            -
                    "ts",
         
     | 
| 
       30 
     | 
    
         
            -
                    ["js"],
         
     | 
| 
       31 
     | 
    
         
            -
                ],
         
     | 
| 
       32 
     | 
    
         
            -
            ], imports = {
         
     | 
| 
       33 
     | 
    
         
            -
                plugins: {
         
     | 
| 
       34 
     | 
    
         
            -
                    "@stylistic": Plugin,
         
     | 
| 
       35 
     | 
    
         
            -
                    "@typescript-eslint": Plugin,
         
     | 
| 
       36 
     | 
    
         
            -
                    mocha: Plugin,
         
     | 
| 
       37 
     | 
    
         
            -
                    "chai-friendly": Plugin,
         
     | 
| 
       38 
     | 
    
         
            -
                    "chai-expect": Plugin,
         
     | 
| 
       39 
     | 
    
         
            -
                    html: Plugin,
         
     | 
| 
       40 
     | 
    
         
            -
                    json: Plugin,
         
     | 
| 
       41 
     | 
    
         
            -
                    jsonc: Plugin,
         
     | 
| 
       42 
     | 
    
         
            -
                },
         
     | 
| 
       43 
     | 
    
         
            -
                parsers: {
         
     | 
| 
       44 
     | 
    
         
            -
                    ts: Parser("TS"),
         
     | 
| 
       45 
     | 
    
         
            -
                    html: Parser("HTML"),
         
     | 
| 
       46 
     | 
    
         
            -
                },
         
     | 
| 
       47 
     | 
    
         
            -
            }, settings = {
         
     | 
| 
       48 
     | 
    
         
            -
                ts: {
         
     | 
| 
       49 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       50 
     | 
    
         
            -
                        parser: "ts",
         
     | 
| 
       51 
     | 
    
         
            -
                    },
         
     | 
| 
       52 
     | 
    
         
            -
                },
         
     | 
| 
       53 
     | 
    
         
            -
                svelte: {
         
     | 
| 
       54 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       55 
     | 
    
         
            -
                        parser: "svelte",
         
     | 
| 
       56 
     | 
    
         
            -
                    },
         
     | 
| 
       57 
     | 
    
         
            -
                    parserOptions: {
         
     | 
| 
       58 
     | 
    
         
            -
                        parser: "ts",
         
     | 
| 
       59 
     | 
    
         
            -
                        extraFileExtensions: [".svelte"],
         
     | 
| 
       60 
     | 
    
         
            -
                    },
         
     | 
| 
       61 
     | 
    
         
            -
                    processor: "svelte/svelte",
         
     | 
| 
       62 
     | 
    
         
            -
                },
         
     | 
| 
       63 
     | 
    
         
            -
                html: {
         
     | 
| 
       64 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       65 
     | 
    
         
            -
                        parser: "html",
         
     | 
| 
       66 
     | 
    
         
            -
                    },
         
     | 
| 
       67 
     | 
    
         
            -
                    parserOptions: {
         
     | 
| 
       68 
     | 
    
         
            -
                        frontmatter: true,
         
     | 
| 
       69 
     | 
    
         
            -
                    },
         
     | 
| 
       70 
     | 
    
         
            -
                    language: "html/html",
         
     | 
| 
       71 
     | 
    
         
            -
                },
         
     | 
| 
       72 
     | 
    
         
            -
                json: {
         
     | 
| 
       73 
     | 
    
         
            -
                    languageOptions: {
         
     | 
| 
       74 
     | 
    
         
            -
                        allowTrailingCommas: true,
         
     | 
| 
       75 
     | 
    
         
            -
                    },
         
     | 
| 
       76 
     | 
    
         
            -
                    language: "json/jsonc",
         
     | 
| 
       77 
     | 
    
         
            -
                },
         
     | 
| 
       78 
     | 
    
         
            -
            }, configuration = {
         
     | 
| 
       79 
     | 
    
         
            -
                defaults: {
         
     | 
| 
       80 
     | 
    
         
            -
                    files: {
         
     | 
| 
       81 
     | 
    
         
            -
                        js: ["default.js"],
         
     | 
| 
       82 
     | 
    
         
            -
                        ts: ["default.ts"],
         
     | 
| 
       83 
     | 
    
         
            -
                        mocha: ["default.mocha"],
         
     | 
| 
       84 
     | 
    
         
            -
                        svelte: ["default.svelte"],
         
     | 
| 
       85 
     | 
    
         
            -
                        html: ["default.html"],
         
     | 
| 
       86 
     | 
    
         
            -
                        json: ["default.json"],
         
     | 
| 
       87 
     | 
    
         
            -
                        jsonc: ["default.jsonc"],
         
     | 
| 
       88 
     | 
    
         
            -
                        jsoncc: ["default-comma.jsonc"],
         
     | 
| 
       89 
     | 
    
         
            -
                    },
         
     | 
| 
       90 
     | 
    
         
            -
                    ignores: {
         
     | 
| 
       91 
     | 
    
         
            -
                        "*": ["ignore/default.*"],
         
     | 
| 
       92 
     | 
    
         
            -
                        js: ["ignore/default.js"],
         
     | 
| 
       93 
     | 
    
         
            -
                        json: ["ignore/default.json"],
         
     | 
| 
       94 
     | 
    
         
            -
                        jsoncc: ["ignore/default-comma.jsonc"],
         
     | 
| 
       95 
     | 
    
         
            -
                    },
         
     | 
| 
       96 
     | 
    
         
            -
                    rules: {
         
     | 
| 
       97 
     | 
    
         
            -
                        js: [
         
     | 
| 
       98 
     | 
    
         
            -
                            {
         
     | 
| 
       99 
     | 
    
         
            -
                                name: "enable",
         
     | 
| 
       100 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       101 
     | 
    
         
            -
                                    vanilla: 2,
         
     | 
| 
       102 
     | 
    
         
            -
                                    vanilla0: 2,
         
     | 
| 
       103 
     | 
    
         
            -
                                    vanilla1: 2,
         
     | 
| 
       104 
     | 
    
         
            -
                                    vanilla2: 2,
         
     | 
| 
       105 
     | 
    
         
            -
                                },
         
     | 
| 
       106 
     | 
    
         
            -
                            },
         
     | 
| 
       107 
     | 
    
         
            -
                            {
         
     | 
| 
       108 
     | 
    
         
            -
                                name: "enable/stylistic",
         
     | 
| 
       109 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       110 
     | 
    
         
            -
                                    "@stylistic/style-rule": 2,
         
     | 
| 
       111 
     | 
    
         
            -
                                },
         
     | 
| 
       112 
     | 
    
         
            -
                            },
         
     | 
| 
       113 
     | 
    
         
            -
                        ],
         
     | 
| 
       114 
     | 
    
         
            -
                        ts: [
         
     | 
| 
       115 
     | 
    
         
            -
                            {
         
     | 
| 
       116 
     | 
    
         
            -
                                name: "disable",
         
     | 
| 
       117 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       118 
     | 
    
         
            -
                                    vanilla0: 0,
         
     | 
| 
       119 
     | 
    
         
            -
                                },
         
     | 
| 
       120 
     | 
    
         
            -
                            },
         
     | 
| 
       121 
     | 
    
         
            -
                            {
         
     | 
| 
       122 
     | 
    
         
            -
                                name: "enable/extension",
         
     | 
| 
       123 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       124 
     | 
    
         
            -
                                    "@typescript-eslint/enums": 2,
         
     | 
| 
       125 
     | 
    
         
            -
                                    "@typescript-eslint/destructure-expression": 2,
         
     | 
| 
       126 
     | 
    
         
            -
                                    "@typescript-eslint/global": 2,
         
     | 
| 
       127 
     | 
    
         
            -
                                },
         
     | 
| 
       128 
     | 
    
         
            -
                            },
         
     | 
| 
       129 
     | 
    
         
            -
                        ],
         
     | 
| 
       130 
     | 
    
         
            -
                        mocha: [
         
     | 
| 
       131 
     | 
    
         
            -
                            {
         
     | 
| 
       132 
     | 
    
         
            -
                                name: "disable",
         
     | 
| 
       133 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       134 
     | 
    
         
            -
                                    vanilla2: 0,
         
     | 
| 
       135 
     | 
    
         
            -
                                },
         
     | 
| 
       136 
     | 
    
         
            -
                            },
         
     | 
| 
       137 
     | 
    
         
            -
                            {
         
     | 
| 
       138 
     | 
    
         
            -
                                name: "disable/ts",
         
     | 
| 
       139 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       140 
     | 
    
         
            -
                                    "@typescript-eslint/global": 2,
         
     | 
| 
       141 
     | 
    
         
            -
                                },
         
     | 
| 
       142 
     | 
    
         
            -
                            },
         
     | 
| 
       143 
     | 
    
         
            -
                            {
         
     | 
| 
       144 
     | 
    
         
            -
                                name: "enable",
         
     | 
| 
       145 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       146 
     | 
    
         
            -
                                    "mocha/test-expression": 2,
         
     | 
| 
       147 
     | 
    
         
            -
                                },
         
     | 
| 
       148 
     | 
    
         
            -
                            },
         
     | 
| 
       149 
     | 
    
         
            -
                        ],
         
     | 
| 
       150 
     | 
    
         
            -
                        svelte: [
         
     | 
| 
       151 
     | 
    
         
            -
                            {
         
     | 
| 
       152 
     | 
    
         
            -
                                name: "disable",
         
     | 
| 
       153 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       154 
     | 
    
         
            -
                                    vanilla1: 0,
         
     | 
| 
       155 
     | 
    
         
            -
                                },
         
     | 
| 
       156 
     | 
    
         
            -
                            },
         
     | 
| 
       157 
     | 
    
         
            -
                            {
         
     | 
| 
       158 
     | 
    
         
            -
                                name: "enable-extension",
         
     | 
| 
       159 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       160 
     | 
    
         
            -
                                    "svelte/tags": 2,
         
     | 
| 
       161 
     | 
    
         
            -
                                },
         
     | 
| 
       162 
     | 
    
         
            -
                            },
         
     | 
| 
       163 
     | 
    
         
            -
                        ],
         
     | 
| 
       164 
     | 
    
         
            -
                        html: [
         
     | 
| 
       165 
     | 
    
         
            -
                            {
         
     | 
| 
       166 
     | 
    
         
            -
                                name: "enable",
         
     | 
| 
       167 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       168 
     | 
    
         
            -
                                    "html/attribute": 2,
         
     | 
| 
       169 
     | 
    
         
            -
                                },
         
     | 
| 
       170 
     | 
    
         
            -
                            },
         
     | 
| 
       171 
     | 
    
         
            -
                        ],
         
     | 
| 
       172 
     | 
    
         
            -
                        json: [
         
     | 
| 
       173 
     | 
    
         
            -
                            {
         
     | 
| 
       174 
     | 
    
         
            -
                                name: "enable",
         
     | 
| 
       175 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       176 
     | 
    
         
            -
                                    "jsonc/property-check": 2,
         
     | 
| 
       177 
     | 
    
         
            -
                                    "jsonc/comment": [
         
     | 
| 
       178 
     | 
    
         
            -
                                        2,
         
     | 
| 
       179 
     | 
    
         
            -
                                        "never",
         
     | 
| 
       180 
     | 
    
         
            -
                                    ],
         
     | 
| 
       181 
     | 
    
         
            -
                                    "jsonc/trailing-comma": [
         
     | 
| 
       182 
     | 
    
         
            -
                                        2,
         
     | 
| 
       183 
     | 
    
         
            -
                                        "never",
         
     | 
| 
       184 
     | 
    
         
            -
                                    ],
         
     | 
| 
       185 
     | 
    
         
            -
                                },
         
     | 
| 
       186 
     | 
    
         
            -
                            },
         
     | 
| 
       187 
     | 
    
         
            -
                        ],
         
     | 
| 
       188 
     | 
    
         
            -
                        jsonc: [
         
     | 
| 
       189 
     | 
    
         
            -
                            {
         
     | 
| 
       190 
     | 
    
         
            -
                                name: "override-comment",
         
     | 
| 
       191 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       192 
     | 
    
         
            -
                                    "jsonc/comment": [
         
     | 
| 
       193 
     | 
    
         
            -
                                        2,
         
     | 
| 
       194 
     | 
    
         
            -
                                        "allow",
         
     | 
| 
       195 
     | 
    
         
            -
                                    ],
         
     | 
| 
       196 
     | 
    
         
            -
                                },
         
     | 
| 
       197 
     | 
    
         
            -
                            },
         
     | 
| 
       198 
     | 
    
         
            -
                        ],
         
     | 
| 
       199 
     | 
    
         
            -
                        jsoncc: [
         
     | 
| 
       200 
     | 
    
         
            -
                            {
         
     | 
| 
       201 
     | 
    
         
            -
                                name: "override-comma",
         
     | 
| 
       202 
     | 
    
         
            -
                                rules: {
         
     | 
| 
       203 
     | 
    
         
            -
                                    "jsonc/trailing-comma": [
         
     | 
| 
       204 
     | 
    
         
            -
                                        2,
         
     | 
| 
       205 
     | 
    
         
            -
                                        "allow",
         
     | 
| 
       206 
     | 
    
         
            -
                                    ],
         
     | 
| 
       207 
     | 
    
         
            -
                                },
         
     | 
| 
       208 
     | 
    
         
            -
                            },
         
     | 
| 
       209 
     | 
    
         
            -
                        ],
         
     | 
| 
       210 
     | 
    
         
            -
                    },
         
     | 
| 
       211 
     | 
    
         
            -
                },
         
     | 
| 
       212 
     | 
    
         
            -
                extensions: {},
         
     | 
| 
       213 
     | 
    
         
            -
            };
         
     | 
| 
       214 
     | 
    
         
            -
            //# sourceMappingURL=index.input.spec.js.map
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.input.spec.js","sourceRoot":"","sources":["../src/index.input.spec.ts"],"names":[],"mappings":"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"}
         
     | 
    
        package/dist/index.spec.d.ts
    DELETED
    
    
    
        package/dist/index.spec.d.ts.map
    DELETED
    
    | 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC"}
         
     | 
    
        package/dist/index.spec.js
    DELETED
    
    | 
         @@ -1,90 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import "chai/register-should.js";
         
     | 
| 
       2 
     | 
    
         
            -
            import Core from "./index.js";
         
     | 
| 
       3 
     | 
    
         
            -
            import { scopes, optional, tree, imports, settings, configuration, } from "./index.input.spec.js";
         
     | 
| 
       4 
     | 
    
         
            -
            const configs = Core(scopes, optional, tree, imports, settings, configuration);
         
     | 
| 
       5 
     | 
    
         
            -
            describe("Core", function () {
         
     | 
| 
       6 
     | 
    
         
            -
                describe("module", function () {
         
     | 
| 
       7 
     | 
    
         
            -
                    it("is a function", function () {
         
     | 
| 
       8 
     | 
    
         
            -
                        Core
         
     | 
| 
       9 
     | 
    
         
            -
                            .should.be
         
     | 
| 
       10 
     | 
    
         
            -
                            .a("function");
         
     | 
| 
       11 
     | 
    
         
            -
                    });
         
     | 
| 
       12 
     | 
    
         
            -
                });
         
     | 
| 
       13 
     | 
    
         
            -
                describe("output", function () {
         
     | 
| 
       14 
     | 
    
         
            -
                    it("is a non-empty array", function () {
         
     | 
| 
       15 
     | 
    
         
            -
                        configs
         
     | 
| 
       16 
     | 
    
         
            -
                            .should.be
         
     | 
| 
       17 
     | 
    
         
            -
                            .an("array")
         
     | 
| 
       18 
     | 
    
         
            -
                            .not.empty;
         
     | 
| 
       19 
     | 
    
         
            -
                    });
         
     | 
| 
       20 
     | 
    
         
            -
                    it(`length >= (global/ignores + ${scopes.length} scopes = ${scopes.length + 1}) [Actual: ${configs.length}]`, function () {
         
     | 
| 
       21 
     | 
    
         
            -
                        configs
         
     | 
| 
       22 
     | 
    
         
            -
                            .should.have
         
     | 
| 
       23 
     | 
    
         
            -
                            .lengthOf.above(scopes.length + 1);
         
     | 
| 
       24 
     | 
    
         
            -
                    });
         
     | 
| 
       25 
     | 
    
         
            -
                    it("of config objects", function () {
         
     | 
| 
       26 
     | 
    
         
            -
                        for (const config of configs)
         
     | 
| 
       27 
     | 
    
         
            -
                            config
         
     | 
| 
       28 
     | 
    
         
            -
                                .should.be
         
     | 
| 
       29 
     | 
    
         
            -
                                .an("object")
         
     | 
| 
       30 
     | 
    
         
            -
                                .includes
         
     | 
| 
       31 
     | 
    
         
            -
                                .any
         
     | 
| 
       32 
     | 
    
         
            -
                                .keys("plugins", "files", "ignores", "rules");
         
     | 
| 
       33 
     | 
    
         
            -
                    });
         
     | 
| 
       34 
     | 
    
         
            -
                    it("with valid plugins", function () {
         
     | 
| 
       35 
     | 
    
         
            -
                        for (const config of configs)
         
     | 
| 
       36 
     | 
    
         
            -
                            if ("plugins" in config)
         
     | 
| 
       37 
     | 
    
         
            -
                                config.plugins
         
     | 
| 
       38 
     | 
    
         
            -
                                    .should.be
         
     | 
| 
       39 
     | 
    
         
            -
                                    .an("object");
         
     | 
| 
       40 
     | 
    
         
            -
                    });
         
     | 
| 
       41 
     | 
    
         
            -
                    it("or valid files", function () {
         
     | 
| 
       42 
     | 
    
         
            -
                        for (const config of configs)
         
     | 
| 
       43 
     | 
    
         
            -
                            if ("files" in config)
         
     | 
| 
       44 
     | 
    
         
            -
                                config
         
     | 
| 
       45 
     | 
    
         
            -
                                    .files
         
     | 
| 
       46 
     | 
    
         
            -
                                    .should.be
         
     | 
| 
       47 
     | 
    
         
            -
                                    .an("array")
         
     | 
| 
       48 
     | 
    
         
            -
                                    .not.empty;
         
     | 
| 
       49 
     | 
    
         
            -
                    });
         
     | 
| 
       50 
     | 
    
         
            -
                    it("or valid ignores", function () {
         
     | 
| 
       51 
     | 
    
         
            -
                        for (const config of configs)
         
     | 
| 
       52 
     | 
    
         
            -
                            if ("ignores" in config) {
         
     | 
| 
       53 
     | 
    
         
            -
                                config
         
     | 
| 
       54 
     | 
    
         
            -
                                    .ignores
         
     | 
| 
       55 
     | 
    
         
            -
                                    .should.be
         
     | 
| 
       56 
     | 
    
         
            -
                                    .an("array");
         
     | 
| 
       57 
     | 
    
         
            -
                                for (const pattern of config.ignores)
         
     | 
| 
       58 
     | 
    
         
            -
                                    pattern
         
     | 
| 
       59 
     | 
    
         
            -
                                        .should.be
         
     | 
| 
       60 
     | 
    
         
            -
                                        .a("string")
         
     | 
| 
       61 
     | 
    
         
            -
                                        .not.empty;
         
     | 
| 
       62 
     | 
    
         
            -
                            }
         
     | 
| 
       63 
     | 
    
         
            -
                    });
         
     | 
| 
       64 
     | 
    
         
            -
                    it("or valid rules", function () {
         
     | 
| 
       65 
     | 
    
         
            -
                        for (const config of configs)
         
     | 
| 
       66 
     | 
    
         
            -
                            if ("rules" in config) {
         
     | 
| 
       67 
     | 
    
         
            -
                                config
         
     | 
| 
       68 
     | 
    
         
            -
                                    .rules
         
     | 
| 
       69 
     | 
    
         
            -
                                    .should.be
         
     | 
| 
       70 
     | 
    
         
            -
                                    .an("object")
         
     | 
| 
       71 
     | 
    
         
            -
                                    .not.empty;
         
     | 
| 
       72 
     | 
    
         
            -
                                for (const rule of Object.keys(config.rules)) {
         
     | 
| 
       73 
     | 
    
         
            -
                                    rule
         
     | 
| 
       74 
     | 
    
         
            -
                                        .should
         
     | 
| 
       75 
     | 
    
         
            -
                                        .be
         
     | 
| 
       76 
     | 
    
         
            -
                                        .a("string");
         
     | 
| 
       77 
     | 
    
         
            -
                                    if (typeof config.rules[rule] !== "number")
         
     | 
| 
       78 
     | 
    
         
            -
                                        config.rules[rule]
         
     | 
| 
       79 
     | 
    
         
            -
                                            .should
         
     | 
| 
       80 
     | 
    
         
            -
                                            .be
         
     | 
| 
       81 
     | 
    
         
            -
                                            .an("array")
         
     | 
| 
       82 
     | 
    
         
            -
                                            .with
         
     | 
| 
       83 
     | 
    
         
            -
                                            .property("0")
         
     | 
| 
       84 
     | 
    
         
            -
                                            .a("number");
         
     | 
| 
       85 
     | 
    
         
            -
                                }
         
     | 
| 
       86 
     | 
    
         
            -
                            }
         
     | 
| 
       87 
     | 
    
         
            -
                    });
         
     | 
| 
       88 
     | 
    
         
            -
                });
         
     | 
| 
       89 
     | 
    
         
            -
            });
         
     | 
| 
       90 
     | 
    
         
            -
            //# sourceMappingURL=index.spec.js.map
         
     | 
    
        package/dist/index.spec.js.map
    DELETED
    
    | 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"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"}
         
     | 
| 
         
            File without changes
         
     |