linted 28.19.0 → 28.19.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/dist/index.js +1 -0
 - package/dist/index.js.map +1 -1
 - package/package.json +3 -3
 - package/tsconfig.json +24 -20
 
    
        package/dist/index.js
    CHANGED
    
    | 
         @@ -2,6 +2,7 @@ import Core, {} from "@eslinted/core"; 
     | 
|
| 
       2 
2 
     | 
    
         
             
            import * as defaults from "@eslinted/defaults";
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { plugins } from "./plugins.js";
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { parsers } from "./parsers.js";
         
     | 
| 
      
 5 
     | 
    
         
            +
            // import type { Linter } from "eslint";
         
     | 
| 
       5 
6 
     | 
    
         
             
            export default function (extensions = {}) {
         
     | 
| 
       6 
7 
     | 
    
         
             
                try {
         
     | 
| 
       7 
8 
     | 
    
         
             
                    return Core({
         
     | 
    
        package/dist/index.js.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAc,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAc,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,wCAAwC;AAExC,MAAM,CAAC,OAAO,WAAW,aAAkC,EAAE;IAC3D,IAAI,CAAC;QACH,OAAO,IAAI,CAAC;YACV,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;YAC7B,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;IACL,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC"}
         
     | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
              "$schema": "https://json.schemastore.org/package",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "name": "linted",
         
     | 
| 
       6 
     | 
    
         
            -
              "version": "28.19. 
     | 
| 
      
 6 
     | 
    
         
            +
              "version": "28.19.1",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "repository": "github:jimmy-zhening-luo/linted",
         
     | 
| 
       8 
8 
     | 
    
         
             
              "private": false,
         
     | 
| 
       9 
9 
     | 
    
         
             
              "engineStrict": true,
         
     | 
| 
         @@ -31,8 +31,8 @@ 
     | 
|
| 
       31 
31 
     | 
    
         
             
              },
         
     | 
| 
       32 
32 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       33 
33 
     | 
    
         
             
                "@eslint/css": "0.6.0",
         
     | 
| 
       34 
     | 
    
         
            -
                "@eslinted/core": "18.4. 
     | 
| 
       35 
     | 
    
         
            -
                "@eslinted/defaults": "10.4. 
     | 
| 
      
 34 
     | 
    
         
            +
                "@eslinted/core": "18.4.1",
         
     | 
| 
      
 35 
     | 
    
         
            +
                "@eslinted/defaults": "10.4.1",
         
     | 
| 
       36 
36 
     | 
    
         
             
                "@html-eslint/eslint-plugin": "0.37.0",
         
     | 
| 
       37 
37 
     | 
    
         
             
                "@html-eslint/parser": "0.37.0",
         
     | 
| 
       38 
38 
     | 
    
         
             
                "@stylistic/eslint-plugin": "4.2.0",
         
     | 
    
        package/tsconfig.json
    CHANGED
    
    | 
         @@ -1,35 +1,35 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
     | 
    
         
            -
              "display": "tsc@ 
     | 
| 
      
 2 
     | 
    
         
            +
              "display": "tsc@508.0.0",
         
     | 
| 
       3 
3 
     | 
    
         
             
              "$schema": "https://json.schemastore.org/tsconfig",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "include": [
         
     | 
| 
       6 
6 
     | 
    
         
             
                "*.config.ts",
         
     | 
| 
       7 
7 
     | 
    
         
             
                "src/**/*.ts",
         
     | 
| 
       8 
     | 
    
         
            -
                "tests/**/*.ts",
         
     | 
| 
       9 
8 
     | 
    
         
             
                "typings/**/*.d.ts",
         
     | 
| 
       10 
9 
     | 
    
         
             
              ],
         
     | 
| 
       11 
10 
     | 
    
         
             
              "exclude": [],
         
     | 
| 
       12 
11 
     | 
    
         
             
              "compilerOptions": {
         
     | 
| 
       13 
     | 
    
         
            -
                // #region  
     | 
| 
      
 12 
     | 
    
         
            +
                // #region Typecheck
         
     | 
| 
       14 
13 
     | 
    
         
             
                "allowUnreachableCode": false,
         
     | 
| 
       15 
14 
     | 
    
         
             
                "allowUnusedLabels": false,
         
     | 
| 
       16 
     | 
    
         
            -
                "alwaysStrict": true 
     | 
| 
      
 15 
     | 
    
         
            +
                // "alwaysStrict": true /* @default true if `strict`, else false */,
         
     | 
| 
       17 
16 
     | 
    
         
             
                "exactOptionalPropertyTypes": true,
         
     | 
| 
       18 
17 
     | 
    
         
             
                "noFallthroughCasesInSwitch": true,
         
     | 
| 
       19 
     | 
    
         
            -
                "noImplicitAny": true 
     | 
| 
      
 18 
     | 
    
         
            +
                // "noImplicitAny": true /* @default true if `strict`, else false */,
         
     | 
| 
       20 
19 
     | 
    
         
             
                "noImplicitOverride": true,
         
     | 
| 
       21 
20 
     | 
    
         
             
                "noImplicitReturns": true,
         
     | 
| 
       22 
     | 
    
         
            -
                "noImplicitThis": true 
     | 
| 
      
 21 
     | 
    
         
            +
                // "noImplicitThis": true /* @default true if `strict`, else false */,
         
     | 
| 
       23 
22 
     | 
    
         
             
                "noPropertyAccessFromIndexSignature": true,
         
     | 
| 
       24 
23 
     | 
    
         
             
                "noUncheckedIndexedAccess": true,
         
     | 
| 
       25 
24 
     | 
    
         
             
                "noUnusedLocals": true,
         
     | 
| 
       26 
25 
     | 
    
         
             
                "noUnusedParameters": true,
         
     | 
| 
       27 
     | 
    
         
            -
                "strict": true 
     | 
| 
       28 
     | 
    
         
            -
                "strictBindCallApply": true 
     | 
| 
       29 
     | 
    
         
            -
                " 
     | 
| 
       30 
     | 
    
         
            -
                " 
     | 
| 
       31 
     | 
    
         
            -
                " 
     | 
| 
       32 
     | 
    
         
            -
                " 
     | 
| 
      
 26 
     | 
    
         
            +
                "strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
         
     | 
| 
      
 27 
     | 
    
         
            +
                // "strictBindCallApply": true /* @default true if `strict`, else false */,
         
     | 
| 
      
 28 
     | 
    
         
            +
                // "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
         
     | 
| 
      
 29 
     | 
    
         
            +
                // "strictFunctionTypes": true /* @default true if `strict`, else false */,
         
     | 
| 
      
 30 
     | 
    
         
            +
                // "strictNullChecks": true /* @default true if `strict`, else false */,
         
     | 
| 
      
 31 
     | 
    
         
            +
                // "strictPropertyInitialization": true /* @default true if `strict`, else false */,
         
     | 
| 
      
 32 
     | 
    
         
            +
                // "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
         
     | 
| 
       33 
33 
     | 
    
         
             
                // #endregion
         
     | 
| 
       34 
34 
     | 
    
         
             
                //
         
     | 
| 
       35 
35 
     | 
    
         
             
                // #region Modules
         
     | 
| 
         @@ -42,11 +42,13 @@ 
     | 
|
| 
       42 
42 
     | 
    
         
             
                "moduleResolution": "bundler",
         
     | 
| 
       43 
43 
     | 
    
         
             
                // "moduleSuffixes": [],
         
     | 
| 
       44 
44 
     | 
    
         
             
                // "noResolve": true,
         
     | 
| 
      
 45 
     | 
    
         
            +
                // "noUncheckedSideEffectImports": true,
         
     | 
| 
       45 
46 
     | 
    
         
             
                // "paths": { "*": ["node_modules/*"] },
         
     | 
| 
       46 
47 
     | 
    
         
             
                // "resolveJsonModule": true,
         
     | 
| 
       47 
48 
     | 
    
         
             
                // "resolvePackageJsonExports": true,
         
     | 
| 
       48 
49 
     | 
    
         
             
                // "resolvePackageJsonImports": true,
         
     | 
| 
       49 
     | 
    
         
            -
                " 
     | 
| 
      
 50 
     | 
    
         
            +
                "rewriteRelativeImportExtensions": true,
         
     | 
| 
      
 51 
     | 
    
         
            +
                // "rootDir": "src",
         
     | 
| 
       50 
52 
     | 
    
         
             
                // "rootDirs": [],
         
     | 
| 
       51 
53 
     | 
    
         
             
                // "typeRoots": [],
         
     | 
| 
       52 
54 
     | 
    
         
             
                "types": [
         
     | 
| 
         @@ -58,7 +60,7 @@ 
     | 
|
| 
       58 
60 
     | 
    
         
             
                //
         
     | 
| 
       59 
61 
     | 
    
         
             
                // #region Emit
         
     | 
| 
       60 
62 
     | 
    
         
             
                "declaration": true,
         
     | 
| 
       61 
     | 
    
         
            -
                "declarationDir": " 
     | 
| 
      
 63 
     | 
    
         
            +
                // "declarationDir": "",
         
     | 
| 
       62 
64 
     | 
    
         
             
                "declarationMap": true,
         
     | 
| 
       63 
65 
     | 
    
         
             
                // "downlevelIteration": true,
         
     | 
| 
       64 
66 
     | 
    
         
             
                // "emitBOM": true,
         
     | 
| 
         @@ -74,7 +76,7 @@ 
     | 
|
| 
       74 
76 
     | 
    
         
             
                "outDir": "dist",
         
     | 
| 
       75 
77 
     | 
    
         
             
                // "outFile": "./",
         
     | 
| 
       76 
78 
     | 
    
         
             
                // "preserveConstEnums": true,
         
     | 
| 
       77 
     | 
    
         
            -
                "removeComments": true,
         
     | 
| 
      
 79 
     | 
    
         
            +
                // "removeComments": true,
         
     | 
| 
       78 
80 
     | 
    
         
             
                "sourceMap": true,
         
     | 
| 
       79 
81 
     | 
    
         
             
                // "sourceRoot": "",
         
     | 
| 
       80 
82 
     | 
    
         
             
                // "stripInternal": true,
         
     | 
| 
         @@ -93,7 +95,8 @@ 
     | 
|
| 
       93 
95 
     | 
    
         
             
                //
         
     | 
| 
       94 
96 
     | 
    
         
             
                // #region Interop
         
     | 
| 
       95 
97 
     | 
    
         
             
                "allowSyntheticDefaultImports": true,
         
     | 
| 
       96 
     | 
    
         
            -
                " 
     | 
| 
      
 98 
     | 
    
         
            +
                // "erasableSyntaxOnly": true,
         
     | 
| 
      
 99 
     | 
    
         
            +
                // "esModuleInterop": true,
         
     | 
| 
       97 
100 
     | 
    
         
             
                "forceConsistentCasingInFileNames": true,
         
     | 
| 
       98 
101 
     | 
    
         
             
                // "isolatedDeclarations": false,
         
     | 
| 
       99 
102 
     | 
    
         
             
                // "isolatedModules": true,
         
     | 
| 
         @@ -112,11 +115,12 @@ 
     | 
|
| 
       112 
115 
     | 
    
         
             
                  "es2023",
         
     | 
| 
       113 
116 
     | 
    
         
             
                  /* {CONFIGURE} */
         
     | 
| 
       114 
117 
     | 
    
         
             
                ],
         
     | 
| 
      
 118 
     | 
    
         
            +
                // "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
         
     | 
| 
       115 
119 
     | 
    
         
             
                // "moduleDetection": "auto",
         
     | 
| 
       116 
120 
     | 
    
         
             
                // "noLib": true,
         
     | 
| 
       117 
121 
     | 
    
         
             
                // "reactNamespace": "",
         
     | 
| 
       118 
122 
     | 
    
         
             
                "target": "es2022",
         
     | 
| 
       119 
     | 
    
         
            -
                // "useDefineForClassFields": true /* @default 
     | 
| 
      
 123 
     | 
    
         
            +
                // "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
         
     | 
| 
       120 
124 
     | 
    
         
             
                // #endregion
         
     | 
| 
       121 
125 
     | 
    
         
             
                //
         
     | 
| 
       122 
126 
     | 
    
         
             
                //  #region Diagnostic
         
     | 
| 
         @@ -135,8 +139,8 @@ 
     | 
|
| 
       135 
139 
     | 
    
         
             
                // "disableReferencedProjectLoad": true,
         
     | 
| 
       136 
140 
     | 
    
         
             
                // "disableSolutionSearching": true,
         
     | 
| 
       137 
141 
     | 
    
         
             
                // "disableSourceOfProjectReferenceRedirect": true,
         
     | 
| 
       138 
     | 
    
         
            -
                "incremental": true 
     | 
| 
       139 
     | 
    
         
            -
                "tsBuildInfoFile": " 
     | 
| 
      
 142 
     | 
    
         
            +
                "incremental": true /* @default true if `composite`, else false */,
         
     | 
| 
      
 143 
     | 
    
         
            +
                // "tsBuildInfoFile": "",
         
     | 
| 
       140 
144 
     | 
    
         
             
                // #endregion
         
     | 
| 
       141 
145 
     | 
    
         
             
                //
         
     | 
| 
       142 
146 
     | 
    
         
             
                //  #region Print
         
     | 
| 
         @@ -145,7 +149,7 @@ 
     | 
|
| 
       145 
149 
     | 
    
         
             
                // "pretty": true,
         
     | 
| 
       146 
150 
     | 
    
         
             
                // #endregion
         
     | 
| 
       147 
151 
     | 
    
         
             
                //
         
     | 
| 
       148 
     | 
    
         
            -
                // #region  
     | 
| 
      
 152 
     | 
    
         
            +
                // #region Complete
         
     | 
| 
       149 
153 
     | 
    
         
             
                "skipLibCheck": true /* @OVERRIDE */,
         
     | 
| 
       150 
154 
     | 
    
         
             
                // #endregion
         
     | 
| 
       151 
155 
     | 
    
         
             
              },
         
     |