@zemd/eslint-ts 1.0.2 → 1.0.3
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 +2 -2
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var b=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var u=(e,r)=>n(e,"name",{value:r,configurable:!0});var E=(e,r)=>{for(var t in r)n(e,t,{get:r[t],enumerable:!0})},i=(e,r,t,y)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of w(r))!_.call(e,o)&&o!==t&&n(e,o,{get:()=>r[o],enumerable:!(y=h(r,o))||y.enumerable});return e},p=(e,r,t)=>(i(e,r,"default"),t&&i(t,r,"default")),c=(e,r,t)=>(t=e!=null?b(S(e)):{},i(r||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e)),I=e=>i(n({},"__esModule",{value:!0}),e);var s={};E(s,{default:()=>x,typescript:()=>d});module.exports=I(s);var f=c(require("@typescript-eslint/eslint-plugin"),1),m=c(require("@typescript-eslint/parser"),1),P={"@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"]},l={plugins:{"@typescript-eslint":f.default},parser:m.default,rules:{...f.default.configs["strict-type-checked"].rules,...P,"no-unused-vars":["off"],"no-dupe-class-members":["off"]}};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 o=Object.defineProperty;var s=(e,t)=>o(e,"name",{value:t,configurable:!0});import p from"@typescript-eslint/eslint-plugin";import n from"@typescript-eslint/parser";var 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"]},r={plugins:{"@typescript-eslint":p},parser:n,rules:{...p.configs["strict-type-checked"].rules,...i,"no-unused-vars":["off"],"no-dupe-class-members":["off"]}};import{GLOB_TS as l,GLOB_TSX as a}from"@zemd/eslint-common";import u from"@zemd/eslint-js";export*from"@zemd/eslint-js";function c({files:e=[l,a],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(c,"typescript");function f(...e){return[...u(),...c(...e)]}s(f,"all");export{f as default,c 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.3",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"description": "Shared ESLint config for typescript projects",
|
6
6
|
"keywords": [
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
47
47
|
"@typescript-eslint/parser": "^8.24.0",
|
48
48
|
"@zemd/eslint-common": "1.0.1",
|
49
|
-
"@zemd/eslint-js": "1.0.
|
49
|
+
"@zemd/eslint-js": "1.0.3"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"@types/eslint": "^9.6.1",
|