linted 32.9.3 → 33.0.0-rc.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/imports/index.d.ts
    CHANGED
    
    | 
         @@ -5,11 +5,11 @@ declare const _default: { 
     | 
|
| 
       5 
5 
     | 
    
         
             
                    yml: typeof import("yaml-eslint-parser");
         
     | 
| 
       6 
6 
     | 
    
         
             
                };
         
     | 
| 
       7 
7 
     | 
    
         
             
                plugins: {
         
     | 
| 
       8 
     | 
    
         
            -
                     
     | 
| 
      
 8 
     | 
    
         
            +
                    stylistic: NoInfer<{
         
     | 
| 
       9 
9 
     | 
    
         
             
                        rules: import("@stylistic/eslint-plugin").Rules;
         
     | 
| 
       10 
10 
     | 
    
         
             
                        configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
         
     | 
| 
       11 
11 
     | 
    
         
             
                    }>;
         
     | 
| 
       12 
     | 
    
         
            -
                     
     | 
| 
      
 12 
     | 
    
         
            +
                    ts: NoInfer<typeof import("typescript-eslint").plugin>;
         
     | 
| 
       13 
13 
     | 
    
         
             
                    mocha: {
         
     | 
| 
       14 
14 
     | 
    
         
             
                        rules: {
         
     | 
| 
       15 
15 
     | 
    
         
             
                            "handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
         
     | 
| 
         @@ -102,7 +102,7 @@ declare const _default: { 
     | 
|
| 
       102 
102 
     | 
    
         
             
                            };
         
     | 
| 
       103 
103 
     | 
    
         
             
                        };
         
     | 
| 
       104 
104 
     | 
    
         
             
                    };
         
     | 
| 
       105 
     | 
    
         
            -
                     
     | 
| 
      
 105 
     | 
    
         
            +
                    chai: typeof import("eslint-plugin-chai-friendly");
         
     | 
| 
       106 
106 
     | 
    
         
             
                    "chai-expect": typeof import("eslint-plugin-chai-expect");
         
     | 
| 
       107 
107 
     | 
    
         
             
                    html: typeof import("@html-eslint/eslint-plugin/types");
         
     | 
| 
       108 
108 
     | 
    
         
             
                    css: typeof import("@eslint/css").default;
         
     | 
| 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import stylistic from "@stylistic/eslint-plugin";
         
     | 
| 
       2 
     | 
    
         
            -
            import { plugin as  
     | 
| 
       3 
     | 
    
         
            -
            import  
     | 
| 
      
 2 
     | 
    
         
            +
            import { plugin as ts } from "typescript-eslint";
         
     | 
| 
      
 3 
     | 
    
         
            +
            import chai from "eslint-plugin-chai-friendly";
         
     | 
| 
       4 
4 
     | 
    
         
             
            import chai_expect from "eslint-plugin-chai-expect";
         
     | 
| 
       5 
5 
     | 
    
         
             
            import html from "@html-eslint/eslint-plugin";
         
     | 
| 
       6 
6 
     | 
    
         
             
            import css from "@eslint/css";
         
     | 
| 
       7 
7 
     | 
    
         
             
            import json from "@eslint/json";
         
     | 
| 
       8 
8 
     | 
    
         
             
            declare const _default: {
         
     | 
| 
       9 
     | 
    
         
            -
                 
     | 
| 
       10 
     | 
    
         
            -
                 
     | 
| 
      
 9 
     | 
    
         
            +
                stylistic: NoInfer<typeof stylistic>;
         
     | 
| 
      
 10 
     | 
    
         
            +
                ts: NoInfer<typeof ts>;
         
     | 
| 
       11 
11 
     | 
    
         
             
                mocha: {
         
     | 
| 
       12 
12 
     | 
    
         
             
                    rules: {
         
     | 
| 
       13 
13 
     | 
    
         
             
                        "handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
         
     | 
| 
         @@ -100,7 +100,7 @@ declare const _default: { 
     | 
|
| 
       100 
100 
     | 
    
         
             
                        };
         
     | 
| 
       101 
101 
     | 
    
         
             
                    };
         
     | 
| 
       102 
102 
     | 
    
         
             
                };
         
     | 
| 
       103 
     | 
    
         
            -
                 
     | 
| 
      
 103 
     | 
    
         
            +
                chai: typeof chai;
         
     | 
| 
       104 
104 
     | 
    
         
             
                "chai-expect": typeof chai_expect;
         
     | 
| 
       105 
105 
     | 
    
         
             
                html: typeof html;
         
     | 
| 
       106 
106 
     | 
    
         
             
                css: typeof css;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;;eAKN,OAAO,CAAC,OAAO,SAAS,CAAC;QACvC,OAAO,CAAC,OAAO,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAU04nB,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;qBAAmN,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAu3D,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAkxD,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAwyC,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBAA89B,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAl50B,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAZ3gM,wBAWE"}
         
     | 
    
        package/dist/imports/plugins.js
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import stylistic from "@stylistic/eslint-plugin";
         
     | 
| 
       2 
     | 
    
         
            -
            import { plugin as  
     | 
| 
      
 2 
     | 
    
         
            +
            import { plugin as ts } from "typescript-eslint";
         
     | 
| 
       3 
3 
     | 
    
         
             
            import mocha from "eslint-plugin-mocha";
         
     | 
| 
       4 
     | 
    
         
            -
            import  
     | 
| 
      
 4 
     | 
    
         
            +
            import chai from "eslint-plugin-chai-friendly";
         
     | 
| 
       5 
5 
     | 
    
         
             
            import chai_expect from "eslint-plugin-chai-expect";
         
     | 
| 
       6 
6 
     | 
    
         
             
            import html from "@html-eslint/eslint-plugin";
         
     | 
| 
       7 
7 
     | 
    
         
             
            import css from "@eslint/css";
         
     | 
| 
         @@ -9,10 +9,10 @@ import json from "@eslint/json"; 
     | 
|
| 
       9 
9 
     | 
    
         
             
            import jsonc from "eslint-plugin-jsonc";
         
     | 
| 
       10 
10 
     | 
    
         
             
            import yml from "eslint-plugin-yml";
         
     | 
| 
       11 
11 
     | 
    
         
             
            export default {
         
     | 
| 
       12 
     | 
    
         
            -
                 
     | 
| 
       13 
     | 
    
         
            -
                 
     | 
| 
      
 12 
     | 
    
         
            +
                stylistic: stylistic,
         
     | 
| 
      
 13 
     | 
    
         
            +
                ts: ts,
         
     | 
| 
       14 
14 
     | 
    
         
             
                mocha,
         
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
      
 15 
     | 
    
         
            +
                chai,
         
     | 
| 
       16 
16 
     | 
    
         
             
                "chai-expect": chai_expect,
         
     | 
| 
       17 
17 
     | 
    
         
             
                html,
         
     | 
| 
       18 
18 
     | 
    
         
             
                css,
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,SAAS,EAAE,SAAsC;IACjD,EAAE,EAAE,EAAwB;IAC5B,KAAK;IACL,IAAI;IACJ,aAAa,EAAE,WAAW;IAC1B,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,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": " 
     | 
| 
      
 6 
     | 
    
         
            +
              "version": "33.0.0-rc.1",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "repository": "github:jimmy-zhening-luo/linted",
         
     | 
| 
       8 
8 
     | 
    
         
             
              "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
         
     | 
| 
       9 
9 
     | 
    
         
             
              "keywords": [
         
     | 
| 
         @@ -53,8 +53,8 @@ 
     | 
|
| 
       53 
53 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       54 
54 
     | 
    
         
             
                "@eslint/css": "0.13.0",
         
     | 
| 
       55 
55 
     | 
    
         
             
                "@eslint/json": "0.13.2",
         
     | 
| 
       56 
     | 
    
         
            -
                "@eslinted/core": " 
     | 
| 
       57 
     | 
    
         
            -
                "@eslinted/defaults": " 
     | 
| 
      
 56 
     | 
    
         
            +
                "@eslinted/core": "29.0.0-rc.0",
         
     | 
| 
      
 57 
     | 
    
         
            +
                "@eslinted/defaults": "17.0.0-rc.0",
         
     | 
| 
       58 
58 
     | 
    
         
             
                "@html-eslint/eslint-plugin": "0.47.0",
         
     | 
| 
       59 
59 
     | 
    
         
             
                "@stylistic/eslint-plugin": "5.5.0",
         
     | 
| 
       60 
60 
     | 
    
         
             
                "eslint-plugin-chai-expect": "3.1.0",
         
     | 
    
        package/src/imports/plugins.ts
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import stylistic from "@stylistic/eslint-plugin";
         
     | 
| 
       2 
     | 
    
         
            -
            import { plugin as  
     | 
| 
      
 2 
     | 
    
         
            +
            import { plugin as ts } from "typescript-eslint";
         
     | 
| 
       3 
3 
     | 
    
         
             
            import mocha from "eslint-plugin-mocha";
         
     | 
| 
       4 
     | 
    
         
            -
            import  
     | 
| 
      
 4 
     | 
    
         
            +
            import chai from "eslint-plugin-chai-friendly";
         
     | 
| 
       5 
5 
     | 
    
         
             
            import chai_expect from "eslint-plugin-chai-expect";
         
     | 
| 
       6 
6 
     | 
    
         
             
            import html from "@html-eslint/eslint-plugin";
         
     | 
| 
       7 
7 
     | 
    
         
             
            import css from "@eslint/css";
         
     | 
| 
         @@ -10,10 +10,10 @@ import jsonc from "eslint-plugin-jsonc"; 
     | 
|
| 
       10 
10 
     | 
    
         
             
            import yml from "eslint-plugin-yml";
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            export default {
         
     | 
| 
       13 
     | 
    
         
            -
               
     | 
| 
       14 
     | 
    
         
            -
               
     | 
| 
      
 13 
     | 
    
         
            +
              stylistic: stylistic as NoInfer<typeof stylistic>,
         
     | 
| 
      
 14 
     | 
    
         
            +
              ts: ts as NoInfer<typeof ts>,
         
     | 
| 
       15 
15 
     | 
    
         
             
              mocha,
         
     | 
| 
       16 
     | 
    
         
            -
               
     | 
| 
      
 16 
     | 
    
         
            +
              chai,
         
     | 
| 
       17 
17 
     | 
    
         
             
              "chai-expect": chai_expect,
         
     | 
| 
       18 
18 
     | 
    
         
             
              html,
         
     | 
| 
       19 
19 
     | 
    
         
             
              css,
         
     |