@zemd/eslint-ts 1.0.44 → 2.0.0
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.d.mts +17 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +9 -11
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -12
- package/dist/index.d.ts +0 -12
- package/dist/index.js +0 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ParserOptions } from "@typescript-eslint/parser";
|
|
2
|
+
import { Linter } from "eslint";
|
|
3
|
+
export * from "@zemd/eslint-js";
|
|
4
|
+
|
|
5
|
+
//#region src/index.d.ts
|
|
6
|
+
type TypescriptOptions = {
|
|
7
|
+
files: string[];
|
|
8
|
+
parserOptions: ParserOptions;
|
|
9
|
+
};
|
|
10
|
+
declare function typescript({
|
|
11
|
+
files,
|
|
12
|
+
parserOptions
|
|
13
|
+
}?: Partial<TypescriptOptions>): Array<Linter.Config>;
|
|
14
|
+
declare function all(...params: Parameters<typeof typescript>): Array<Linter.Config>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { all as default, typescript };
|
|
17
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;KAQK,iBAAA;EACH,KAAA;EACA,aAAA,EAAe,aAAA;AAAA;AAAA,iBAGD,UAAA,CAAA;EACd,KAAA;EACA;AAAA,IACC,OAAA,CAAQ,iBAAA,IAA0B,KAAA,CAAM,MAAA,CAAO,MAAA;AAAA,iBAwB1B,GAAA,CAAA,GAAO,MAAA,EAAQ,UAAA,QAAkB,UAAA,IAAc,KAAA,CAAM,MAAA,CAAO,MAAA"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@typescript-eslint/eslint-plugin";import t from"@typescript-eslint/parser";import{GLOB_TS as n,GLOB_TSX as r}from"@zemd/eslint-common";import i from"@zemd/eslint-js";export*from"@zemd/eslint-js";const a={"@typescript-eslint/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"@typescript-eslint/consistent-type-imports":[`error`,{fixStyle:`inline-type-imports`}],"@typescript-eslint/no-unused-vars":[`error`,{args:`all`,argsIgnorePattern:`^_`,caughtErrors:`all`,caughtErrorsIgnorePattern:`^_`,destructuredArrayIgnorePattern:`^_`,varsIgnorePattern:`^_`,ignoreRestSiblings:!0}],"@typescript-eslint/explicit-module-boundary-types":[`error`],"@typescript-eslint/method-signature-style":[`error`],"@typescript-eslint/no-import-type-side-effects":[`error`],"@typescript-eslint/no-useless-empty-export":[`error`],"@typescript-eslint/promise-function-async":[`error`],"@typescript-eslint/require-array-sort-compare":[`error`],"@typescript-eslint/restrict-template-expressions":[`error`,{allow:[{name:[`Error`,`URL`,`URLSearchParams`],from:`lib`}],allowAny:!0,allowBoolean:!0,allowNullish:!0,allowNumber:!0,allowRegExp:!0}],"@typescript-eslint/no-unsafe-call":[`off`],"@typescript-eslint/no-explicit-any":[`off`],"@typescript-eslint/no-unsafe-return":[`off`],"@typescript-eslint/no-unsafe-assignment":[`off`],"@typescript-eslint/no-unsafe-member-access":[`off`],"@typescript-eslint/no-unsafe-argument":[`off`],"@typescript-eslint/no-empty-object-type":[`off`],"@typescript-eslint/no-unnecessary-type-parameters":[`off`],"@typescript-eslint/require-await":[`off`],"@typescript-eslint/strict-void-return":[`error`]};var o={plugins:{"@typescript-eslint":e},parser:t,rules:{...e.configs[`strict-type-checked`].rules,...a,"no-unused-vars":[`off`],"no-dupe-class-members":[`off`]}};function s({files:e=[n,r],parserOptions:t}={}){return[{name:`zemd/typescript/setup`,files:e,languageOptions:{parser:o.parser,parserOptions:{ecmaFeatures:{modules:!0},project:!0,...t}}},{name:`zemd/typescript/rules`,files:e,plugins:o.plugins,rules:o.rules}]}function c(...e){return[...i(),...s(...e)]}export{c as default,s as typescript};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["ts"],"sources":["../src/rules/typescript.ts","../src/index.ts"],"sourcesContent":["import type { ESLint, Linter } from \"eslint\";\nimport plugin from \"@typescript-eslint/eslint-plugin\";\nimport parser from \"@typescript-eslint/parser\";\nimport type { Feature } from \"@zemd/eslint-common\";\n\nexport const rules: Linter.RulesRecord = {\n \"@typescript-eslint/consistent-type-exports\": [\n // https://typescript-eslint.io/rules/consistent-type-exports/\n \"error\",\n { fixMixedExportsWithInlineTypeSpecifier: true },\n ],\n \"@typescript-eslint/consistent-type-imports\": [\n // https://typescript-eslint.io/rules/consistent-type-imports/\n // requires 'emitDecoratorMetadata' in tsconfig to be **true**\n \"error\",\n { fixStyle: \"inline-type-imports\" },\n ],\n \"@typescript-eslint/no-unused-vars\": [\n \"error\",\n {\n args: \"all\",\n argsIgnorePattern: \"^_\",\n caughtErrors: \"all\",\n caughtErrorsIgnorePattern: \"^_\",\n destructuredArrayIgnorePattern: \"^_\",\n varsIgnorePattern: \"^_\",\n ignoreRestSiblings: true,\n },\n ],\n // \"@typescript-eslint/explicit-function-return-type\": [\n // // https://typescript-eslint.io/rules/explicit-function-return-type/\n // \"error\",\n // { allowIIFEs: true },\n // ],\n \"@typescript-eslint/explicit-module-boundary-types\": [\n // https://typescript-eslint.io/rules/explicit-module-boundary-types/\n \"error\",\n ],\n \"@typescript-eslint/method-signature-style\": [\n // https://typescript-eslint.io/rules/method-signature-style/\n \"error\",\n ],\n \"@typescript-eslint/no-import-type-side-effects\": [\n // https://typescript-eslint.io/rules/no-import-type-side-effects/\n \"error\",\n ],\n \"@typescript-eslint/no-useless-empty-export\": [\n // https://typescript-eslint.io/rules/no-useless-empty-export/\n \"error\",\n ],\n \"@typescript-eslint/promise-function-async\": [\n // https://typescript-eslint.io/rules/promise-function-async/\n \"error\",\n ],\n \"@typescript-eslint/require-array-sort-compare\": [\n // https://typescript-eslint.io/rules/require-array-sort-compare/\n \"error\",\n ],\n \"@typescript-eslint/restrict-template-expressions\": [\n // https://typescript-eslint.io/rules/restrict-template-expressions/\n \"error\",\n {\n allow: [{ name: [\"Error\", \"URL\", \"URLSearchParams\"], from: \"lib\" }],\n allowAny: true,\n allowBoolean: true,\n allowNullish: true,\n allowNumber: true,\n allowRegExp: true,\n },\n ],\n \"@typescript-eslint/no-unsafe-call\": [\n // https://typescript-eslint.io/rules/no-unsafe-call/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-explicit-any\": [\n // https://typescript-eslint.io/rules/no-explicit-any/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-unsafe-return\": [\n // https://typescript-eslint.io/rules/no-unsafe-return/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-unsafe-assignment\": [\n // https://typescript-eslint.io/rules/no-unsafe-assignment/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-unsafe-member-access\": [\n // https://typescript-eslint.io/rules/no-unsafe-member-access/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-unsafe-argument\": [\n // https://typescript-eslint.io/rules/no-unsafe-argument/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-empty-object-type\": [\n // https://typescript-eslint.io/rules/no-empty-object-type/\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/no-unnecessary-type-parameters\": [\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/require-await\": [\n // should not be forced by default, turn on when you really need it\n \"off\",\n ],\n \"@typescript-eslint/strict-void-return\": [\n // https://typescript-eslint.io/rules/strict-void-return/\n // added since @typescript-eslint/eslint-plugin@8.53.0 (2026-01-12)\n \"error\",\n ],\n};\n\nconst feature: Feature = {\n plugins: {\n \"@typescript-eslint\": plugin as unknown as ESLint.Plugin,\n },\n parser,\n // more about @typescript-eslint/eslint-plugin rules see:\n // - https://typescript-eslint.io/linting/configs#recommended-configurations\n // - https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict.ts\n rules: {\n ...(plugin.configs[\"strict-type-checked\"]!.rules as Linter.RulesRecord),\n ...rules,\n // disabling default eslint rule and using @typescript-eslint/no-unused-vars instead\n // to avoid unnecessary errors for type definitions\n \"no-unused-vars\": [\"off\"],\n \"no-dupe-class-members\": [\"off\"],\n },\n};\n\nexport default feature;\n","import type { Linter } from \"eslint\";\nimport ts from \"./rules/typescript.js\";\nimport { GLOB_TS, GLOB_TSX } from \"@zemd/eslint-common\";\nimport javascript from \"@zemd/eslint-js\";\nimport type { ParserOptions } from \"@typescript-eslint/parser\";\n\nexport * from \"@zemd/eslint-js\";\n\ntype TypescriptOptions = {\n files: string[];\n parserOptions: ParserOptions;\n};\n\nexport function typescript({\n files = [GLOB_TS, GLOB_TSX],\n parserOptions,\n}: Partial<TypescriptOptions> = {}): Array<Linter.Config> {\n return [\n {\n // enabling parsing typescript files support\n name: \"zemd/typescript/setup\",\n files,\n languageOptions: {\n parser: ts.parser,\n parserOptions: {\n ecmaFeatures: { modules: true },\n project: true,\n ...parserOptions,\n },\n },\n },\n {\n name: \"zemd/typescript/rules\",\n files,\n plugins: ts.plugins,\n rules: ts.rules,\n },\n ];\n}\n\nexport default function all(...params: Parameters<typeof typescript>): Array<Linter.Config> {\n return [...javascript(), ...typescript(...params)];\n}\n"],"mappings":"iNAKA,MAAa,EAA4B,CACvC,6CAA8C,CAE5C,QACA,CAAE,uCAAwC,GAAM,CACjD,CACD,6CAA8C,CAG5C,QACA,CAAE,SAAU,sBAAuB,CACpC,CACD,oCAAqC,CACnC,QACA,CACE,KAAM,MACN,kBAAmB,KACnB,aAAc,MACd,0BAA2B,KAC3B,+BAAgC,KAChC,kBAAmB,KACnB,mBAAoB,GACrB,CACF,CAMD,oDAAqD,CAEnD,QACD,CACD,4CAA6C,CAE3C,QACD,CACD,iDAAkD,CAEhD,QACD,CACD,6CAA8C,CAE5C,QACD,CACD,4CAA6C,CAE3C,QACD,CACD,gDAAiD,CAE/C,QACD,CACD,mDAAoD,CAElD,QACA,CACE,MAAO,CAAC,CAAE,KAAM,CAAC,QAAS,MAAO,kBAAkB,CAAE,KAAM,MAAO,CAAC,CACnE,SAAU,GACV,aAAc,GACd,aAAc,GACd,YAAa,GACb,YAAa,GACd,CACF,CACD,oCAAqC,CAGnC,MACD,CACD,qCAAsC,CAGpC,MACD,CACD,sCAAuC,CAGrC,MACD,CACD,0CAA2C,CAGzC,MACD,CACD,6CAA8C,CAG5C,MACD,CACD,wCAAyC,CAGvC,MACD,CACD,0CAA2C,CAGzC,MACD,CACD,oDAAqD,CAEnD,MACD,CACD,mCAAoC,CAElC,MACD,CACD,wCAAyC,CAGvC,QACD,CACF,CAoBD,IAAA,EAlByB,CACvB,QAAS,CACP,qBAAsB,EACvB,CACD,SAIA,MAAO,CACL,GAAI,EAAO,QAAQ,uBAAwB,MAC3C,GAAG,EAGH,iBAAkB,CAAC,MAAM,CACzB,wBAAyB,CAAC,MAAM,CACjC,CACF,CC3HD,SAAgB,EAAW,CACzB,QAAQ,CAAC,EAAS,EAAS,CAC3B,iBAC8B,EAAE,CAAwB,CACxD,MAAO,CACL,CAEE,KAAM,wBACN,QACA,gBAAiB,CACf,OAAQA,EAAG,OACX,cAAe,CACb,aAAc,CAAE,QAAS,GAAM,CAC/B,QAAS,GACT,GAAG,EACJ,CACF,CACF,CACD,CACE,KAAM,wBACN,QACA,QAASA,EAAG,QACZ,MAAOA,EAAG,MACX,CACF,CAGH,SAAwB,EAAI,GAAG,EAA6D,CAC1F,MAAO,CAAC,GAAG,GAAY,CAAE,GAAG,EAAW,GAAG,EAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zemd/eslint-ts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Shared ESLint config for typescript projects",
|
|
6
6
|
"keywords": [
|
|
@@ -35,32 +35,30 @@
|
|
|
35
35
|
"type": "module",
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
-
"import": "./dist/index.
|
|
39
|
-
"require": "./dist/index.cjs"
|
|
38
|
+
"import": "./dist/index.mjs"
|
|
40
39
|
}
|
|
41
40
|
},
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"types": "./dist/index.d.ts",
|
|
41
|
+
"module": "./dist/index.mjs",
|
|
42
|
+
"types": "./dist/index.d.mts",
|
|
45
43
|
"peerDependencies": {
|
|
46
44
|
"eslint": ">=9.2.0"
|
|
47
45
|
},
|
|
48
46
|
"dependencies": {
|
|
49
47
|
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
|
50
48
|
"@typescript-eslint/parser": "^8.53.1",
|
|
51
|
-
"@zemd/eslint-common": "
|
|
52
|
-
"@zemd/eslint-js": "
|
|
49
|
+
"@zemd/eslint-common": "2.0.0",
|
|
50
|
+
"@zemd/eslint-js": "2.0.0"
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
53
|
"@types/eslint": "^9.6.1",
|
|
56
54
|
"@zemd/tsconfig": "^1.4.0",
|
|
57
55
|
"eslint": "^9.39.2",
|
|
58
|
-
"
|
|
56
|
+
"tsdown": "^0.20.0-beta.4",
|
|
59
57
|
"typescript": "^5.9.3"
|
|
60
58
|
},
|
|
61
59
|
"scripts": {
|
|
62
|
-
"build": "
|
|
63
|
-
"dev": "
|
|
60
|
+
"build": "tsdown --minify",
|
|
61
|
+
"dev": "tsdown --watch",
|
|
64
62
|
"lint": "publint"
|
|
65
63
|
}
|
|
66
64
|
}
|
package/dist/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var b=Object.create;var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var u=(e,r)=>o(e,"name",{value:r,configurable:!0});var v=(e,r)=>{for(var t in r)o(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,y)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of w(r))!_.call(e,i)&&i!==t&&o(e,i,{get:()=>r[i],enumerable:!(y=h(r,i))||y.enumerable});return e},p=(e,r,t)=>(n(e,r,"default"),t&&n(t,r,"default")),c=(e,r,t)=>(t=e!=null?b(S(e)):{},n(r||!e||!e.__esModule?o(t,"default",{value:e,enumerable:!0}):t,e)),E=e=>n(o({},"__esModule",{value:!0}),e);var s={};v(s,{default:()=>x,typescript:()=>d});module.exports=E(s);var f=c(require("@typescript-eslint/eslint-plugin"),1),m=c(require("@typescript-eslint/parser"),1),I={"@typescript-eslint/consistent-type-exports":["error",{fixMixedExportsWithInlineTypeSpecifier:!0}],"@typescript-eslint/consistent-type-imports":["error",{fixStyle:"inline-type-imports"}],"@typescript-eslint/no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",varsIgnorePattern:"^_",ignoreRestSiblings:!0}],"@typescript-eslint/explicit-module-boundary-types":["error"],"@typescript-eslint/method-signature-style":["error"],"@typescript-eslint/no-import-type-side-effects":["error"],"@typescript-eslint/no-useless-empty-export":["error"],"@typescript-eslint/promise-function-async":["error"],"@typescript-eslint/require-array-sort-compare":["error"],"@typescript-eslint/restrict-template-expressions":["error",{allow:[{name:["Error","URL","URLSearchParams"],from:"lib"}],allowAny:!0,allowBoolean:!0,allowNullish:!0,allowNumber:!0,allowRegExp:!0}],"@typescript-eslint/no-unsafe-call":["off"],"@typescript-eslint/no-explicit-any":["off"],"@typescript-eslint/no-unsafe-return":["off"],"@typescript-eslint/no-unsafe-assignment":["off"],"@typescript-eslint/no-unsafe-member-access":["off"],"@typescript-eslint/no-unsafe-argument":["off"],"@typescript-eslint/no-empty-object-type":["off"],"@typescript-eslint/no-unnecessary-type-parameters":["off"],"@typescript-eslint/require-await":["off"],"@typescript-eslint/strict-void-return":["error"]},P={plugins:{"@typescript-eslint":f.default},parser:m.default,rules:{...f.default.configs["strict-type-checked"].rules,...I,"no-unused-vars":["off"],"no-dupe-class-members":["off"]}},l=P;var a=require("@zemd/eslint-common"),g=c(require("@zemd/eslint-js"),1);p(s,require("@zemd/eslint-js"),module.exports);function d({files:e=[a.GLOB_TS,a.GLOB_TSX],parserOptions:r}={}){return[{name:"zemd/typescript/setup",files:e,languageOptions:{parser:l.parser,parserOptions:{ecmaFeatures:{modules:!0},project:!0,...r}}},{name:"zemd/typescript/rules",files:e,plugins:l.plugins,rules:l.rules}]}u(d,"typescript");function x(...e){return[...(0,g.default)(),...d(...e)]}u(x,"all");0&&(module.exports={typescript,...require("@zemd/eslint-js")});
|
package/dist/index.d.cts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Linter } from 'eslint';
|
|
2
|
-
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
|
-
export * from '@zemd/eslint-js';
|
|
4
|
-
|
|
5
|
-
type TypescriptOptions = {
|
|
6
|
-
files: string[];
|
|
7
|
-
parserOptions: ParserOptions;
|
|
8
|
-
};
|
|
9
|
-
declare function typescript({ files, parserOptions, }?: Partial<TypescriptOptions>): Array<Linter.Config>;
|
|
10
|
-
declare function all(...params: Parameters<typeof typescript>): Array<Linter.Config>;
|
|
11
|
-
|
|
12
|
-
export { all as default, typescript };
|
package/dist/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Linter } from 'eslint';
|
|
2
|
-
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
|
-
export * from '@zemd/eslint-js';
|
|
4
|
-
|
|
5
|
-
type TypescriptOptions = {
|
|
6
|
-
files: string[];
|
|
7
|
-
parserOptions: ParserOptions;
|
|
8
|
-
};
|
|
9
|
-
declare function typescript({ files, parserOptions, }?: Partial<TypescriptOptions>): Array<Linter.Config>;
|
|
10
|
-
declare function all(...params: Parameters<typeof typescript>): Array<Linter.Config>;
|
|
11
|
-
|
|
12
|
-
export { all as default, typescript };
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=Object.defineProperty;var s=(e,t)=>i(e,"name",{value:t,configurable:!0});import p from"@typescript-eslint/eslint-plugin";import o from"@typescript-eslint/parser";var n={"@typescript-eslint/consistent-type-exports":["error",{fixMixedExportsWithInlineTypeSpecifier:!0}],"@typescript-eslint/consistent-type-imports":["error",{fixStyle:"inline-type-imports"}],"@typescript-eslint/no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",varsIgnorePattern:"^_",ignoreRestSiblings:!0}],"@typescript-eslint/explicit-module-boundary-types":["error"],"@typescript-eslint/method-signature-style":["error"],"@typescript-eslint/no-import-type-side-effects":["error"],"@typescript-eslint/no-useless-empty-export":["error"],"@typescript-eslint/promise-function-async":["error"],"@typescript-eslint/require-array-sort-compare":["error"],"@typescript-eslint/restrict-template-expressions":["error",{allow:[{name:["Error","URL","URLSearchParams"],from:"lib"}],allowAny:!0,allowBoolean:!0,allowNullish:!0,allowNumber:!0,allowRegExp:!0}],"@typescript-eslint/no-unsafe-call":["off"],"@typescript-eslint/no-explicit-any":["off"],"@typescript-eslint/no-unsafe-return":["off"],"@typescript-eslint/no-unsafe-assignment":["off"],"@typescript-eslint/no-unsafe-member-access":["off"],"@typescript-eslint/no-unsafe-argument":["off"],"@typescript-eslint/no-empty-object-type":["off"],"@typescript-eslint/no-unnecessary-type-parameters":["off"],"@typescript-eslint/require-await":["off"],"@typescript-eslint/strict-void-return":["error"]},l={plugins:{"@typescript-eslint":p},parser:o,rules:{...p.configs["strict-type-checked"].rules,...n,"no-unused-vars":["off"],"no-dupe-class-members":["off"]}},r=l;import{GLOB_TS as a,GLOB_TSX as u}from"@zemd/eslint-common";import c from"@zemd/eslint-js";export*from"@zemd/eslint-js";function f({files:e=[a,u],parserOptions:t}={}){return[{name:"zemd/typescript/setup",files:e,languageOptions:{parser:r.parser,parserOptions:{ecmaFeatures:{modules:!0},project:!0,...t}}},{name:"zemd/typescript/rules",files:e,plugins:r.plugins,rules:r.rules}]}s(f,"typescript");function y(...e){return[...c(),...f(...e)]}s(y,"all");export{y as default,f as typescript};
|