@zemd/eslint-ts 1.0.41 → 1.0.43
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var b=Object.create;var
|
|
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.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zemd/eslint-ts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Shared ESLint config for typescript projects",
|
|
6
6
|
"keywords": [
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"eslint": ">=9.2.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
50
|
-
"@typescript-eslint/parser": "^8.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
50
|
+
"@typescript-eslint/parser": "^8.53.0",
|
|
51
51
|
"@zemd/eslint-common": "1.0.4",
|
|
52
|
-
"@zemd/eslint-js": "1.1.
|
|
52
|
+
"@zemd/eslint-js": "1.1.21"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/eslint": "^9.6.1",
|
|
56
56
|
"@zemd/tsconfig": "^1.4.0",
|
|
57
|
-
"eslint": "^9.39.
|
|
57
|
+
"eslint": "^9.39.2",
|
|
58
58
|
"tsup": "^8.5.1",
|
|
59
59
|
"typescript": "^5.9.3"
|
|
60
60
|
},
|