@zemd/eslint-ts 1.0.6 → 1.0.8
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 +6 -6
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var b=Object.create;var
|
1
|
+
"use strict";var b=Object.create;var i=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var u=(e,r)=>i(e,"name",{value:r,configurable:!0});var E=(e,r)=>{for(var t in r)i(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,y)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of w(r))!_.call(e,o)&&o!==t&&i(e,o,{get:()=>r[o],enumerable:!(y=h(r,o))||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?i(t,"default",{value:e,enumerable:!0}):t,e)),I=e=>n(i({},"__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"],"@typescript-eslint/require-await":["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 o=Object.defineProperty;var s=(e,t)=>o(e,"name",{value:t,configurable:!0});import p from"@typescript-eslint/eslint-plugin";import
|
1
|
+
var o=Object.defineProperty;var s=(e,t)=>o(e,"name",{value:t,configurable:!0});import p from"@typescript-eslint/eslint-plugin";import i 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"]},r={plugins:{"@typescript-eslint":p},parser:i,rules:{...p.configs["strict-type-checked"].rules,...n,"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.8",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"description": "Shared ESLint config for typescript projects",
|
6
6
|
"keywords": [
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"homepage": "https://github.com/zemd/eslint-flat-config",
|
20
20
|
"repository": {
|
21
21
|
"type": "git",
|
22
|
-
"url": "https://github.com/zemd/eslint-flat-config.git"
|
22
|
+
"url": "git+https://github.com/zemd/eslint-flat-config.git"
|
23
23
|
},
|
24
24
|
"bugs": {
|
25
25
|
"url": "https://github.com/zemd/eslint-flat-config/issues"
|
@@ -31,7 +31,6 @@
|
|
31
31
|
"type": "module",
|
32
32
|
"exports": {
|
33
33
|
".": {
|
34
|
-
"types": "./dist/index.d.ts",
|
35
34
|
"import": "./dist/index.js",
|
36
35
|
"require": "./dist/index.cjs"
|
37
36
|
}
|
@@ -45,8 +44,8 @@
|
|
45
44
|
"dependencies": {
|
46
45
|
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
47
46
|
"@typescript-eslint/parser": "^8.25.0",
|
48
|
-
"@zemd/eslint-common": "1.0.
|
49
|
-
"@zemd/eslint-js": "1.0.
|
47
|
+
"@zemd/eslint-common": "1.0.3",
|
48
|
+
"@zemd/eslint-js": "1.0.7"
|
50
49
|
},
|
51
50
|
"devDependencies": {
|
52
51
|
"@types/eslint": "^9.6.1",
|
@@ -57,6 +56,7 @@
|
|
57
56
|
},
|
58
57
|
"scripts": {
|
59
58
|
"build": "tsup-node --minify",
|
60
|
-
"dev": "tsup-node --watch"
|
59
|
+
"dev": "tsup-node --watch",
|
60
|
+
"lint": "publint"
|
61
61
|
}
|
62
62
|
}
|