@devlsh/tools 1.0.0 → 1.1.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/README.md CHANGED
@@ -6,9 +6,15 @@
6
6
  <br />
7
7
 
8
8
  <p align="center">
9
- <a href="https://github.com/devlsh/tools" rel="nofollow">
9
+ <a href="https://www.npmjs.com/package/@devlsh/tools" rel="nofollow">
10
+ <img src="https://img.shields.io/npm/dm/%40devlsh%2Ftools?style=flat-square" alt="NPM Downloads" />
11
+ </a>
12
+ <a href="https://github.com/devlsh/tools/stargazers" rel="nofollow">
10
13
  <img src="https://img.shields.io/github/stars/devlsh/tools?style=flat-square" alt="GitHub Stars" />
11
14
  </a>
15
+ <a href="https://github.com/devlsh/tools/actions/workflows/validate.yml" rel="nofollow">
16
+ <img src="https://img.shields.io/github/actions/workflow/status/devlsh/tools/validate.yml?style=flat-square" alt="Build Status" />
17
+ </a>
12
18
  <a href="https://github.com/devlsh/tools/blob/main/LICENSE" rel="nofollow">
13
19
  <img src="https://img.shields.io/github/license/devlsh/tools?style=flat-square" alt="Software License" />
14
20
  </a>
@@ -50,6 +56,18 @@ export default defineConfig({
50
56
 
51
57
  For Effect projects, use `@devlsh/tools/oxlint/effect` instead. It already extends the base preset; no need to add both presets.
52
58
 
59
+ For Vue 3 projects, this library includes strict rules for them too. Just enable the Vue plugin in `oxlint.config.ts`.
60
+
61
+ ```ts
62
+ import preset from '@devlsh/tools/oxlint';
63
+ import { defineConfig } from 'oxlint';
64
+
65
+ export default defineConfig({
66
+ extends: [preset],
67
+ plugins: ['vue'],
68
+ });
69
+ ```
70
+
53
71
  ### `oxfmt` preset
54
72
 
55
73
  In `oxfmt.config.ts`, spread the formatting preset into your config:
@@ -67,7 +85,7 @@ export default defineConfig({
67
85
 
68
86
  Please feel free to contribute by [submitting an issue](https://github.com/devlsh/tools/issues) or [joining the discussions](https://github.com/devlsh/tools/discussions).
69
87
 
70
- For local development, pull requests, and other contributions, see the [Contributing Guidelines](CONTRIBUTING.md), including automatic direnv/devenv setup, explicit dependency installation, and the manual activation opt-out.
88
+ For local development, pull requests, and other contributions, see the [Contributing Guidelines](CONTRIBUTING.md).
71
89
 
72
90
  ## License
73
91
 
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  arrowParens: "always";
5
5
  bracketSpacing: true;
6
6
  embeddedLanguageFormatting: "auto";
7
+ vueIndentScriptAndStyle: true;
7
8
  endOfLine: "lf";
8
9
  sortPackageJson: {
9
10
  sortScripts: true;
@@ -1 +1 @@
1
- import{defineConfig as e}from"oxfmt";var t=e({ignorePatterns:[`.opencode`,`.vscode`],arrowParens:`always`,bracketSpacing:!0,embeddedLanguageFormatting:`auto`,endOfLine:`lf`,sortPackageJson:{sortScripts:!0},insertFinalNewline:!0,jsxSingleQuote:!1,objectWrap:`preserve`,printWidth:120,proseWrap:`preserve`,quoteProps:`as-needed`,semi:!0,singleAttributePerLine:!1,singleQuote:!0,tabWidth:2,trailingComma:`all`,useTabs:!1});export{t as default};
1
+ import{defineConfig as e}from"oxfmt";var t=e({ignorePatterns:[`.opencode`,`.vscode`],arrowParens:`always`,bracketSpacing:!0,embeddedLanguageFormatting:`auto`,vueIndentScriptAndStyle:!0,endOfLine:`lf`,sortPackageJson:{sortScripts:!0},insertFinalNewline:!0,jsxSingleQuote:!1,objectWrap:`preserve`,printWidth:120,proseWrap:`preserve`,quoteProps:`as-needed`,semi:!0,singleAttributePerLine:!1,singleQuote:!0,tabWidth:2,trailingComma:`all`,useTabs:!1});export{t as default};
@@ -578,6 +578,61 @@ declare const _default: {
578
578
  requireStringLiterals: true;
579
579
  }];
580
580
  'vars-on-top': "error";
581
+ 'vue/component-definition-name-casing': ["error", "PascalCase"];
582
+ 'vue/define-emits-declaration': ["error", "type-based"];
583
+ 'vue/define-props-declaration': ["error", "type-based"];
584
+ 'vue/define-props-destructuring': ["error", {
585
+ destructure: "never";
586
+ }];
587
+ 'vue/max-props': "off";
588
+ 'vue/next-tick-style': ["error", "promise"];
589
+ 'vue/no-arrow-functions-in-watch': "error";
590
+ 'vue/no-async-in-computed-properties': "error";
591
+ 'vue/no-computed-properties-in-data': "error";
592
+ 'vue/no-deprecated-data-object-declaration': "error";
593
+ 'vue/no-deprecated-delete-set': "error";
594
+ 'vue/no-deprecated-destroyed-lifecycle': "error";
595
+ 'vue/no-deprecated-events-api': "error";
596
+ 'vue/no-deprecated-model-definition': ["error", {
597
+ allowVue3Compat: false;
598
+ }];
599
+ 'vue/no-deprecated-props-default-this': "error";
600
+ 'vue/no-deprecated-vue-config-keycodes': "error";
601
+ 'vue/no-dupe-keys': "error";
602
+ 'vue/no-export-in-script-setup': "error";
603
+ 'vue/no-expose-after-await': "error";
604
+ 'vue/no-import-compiler-macros': "error";
605
+ 'vue/no-lifecycle-after-await': "error";
606
+ 'vue/no-multiple-slot-args': "error";
607
+ 'vue/no-required-prop-with-default': "error";
608
+ 'vue/no-reserved-component-names': ["error", {
609
+ disallowVueBuiltInComponents: true;
610
+ disallowVue3BuiltInComponents: true;
611
+ }];
612
+ 'vue/no-reserved-keys': "error";
613
+ 'vue/no-reserved-props': ["error", {
614
+ vueVersion: number;
615
+ }];
616
+ 'vue/no-shared-component-data': "error";
617
+ 'vue/no-side-effects-in-computed-properties': "error";
618
+ 'vue/no-this-in-before-route-enter': "error";
619
+ 'vue/no-watch-after-await': "error";
620
+ 'vue/prefer-import-from-vue': "error";
621
+ 'vue/prop-name-casing': ["error", "camelCase"];
622
+ 'vue/require-default-export': "error";
623
+ 'vue/require-default-prop': "error";
624
+ 'vue/require-direct-export': "error";
625
+ 'vue/require-prop-type-constructor': "error";
626
+ 'vue/require-prop-types': "error";
627
+ 'vue/require-render-return': "error";
628
+ 'vue/require-slots-as-functions': "error";
629
+ 'vue/require-typed-ref': "error";
630
+ 'vue/return-in-computed-property': "error";
631
+ 'vue/return-in-emits-validator': "error";
632
+ 'vue/valid-define-emits': "error";
633
+ 'vue/valid-define-options': "error";
634
+ 'vue/valid-define-props': "error";
635
+ 'vue/valid-next-tick': "error";
581
636
  };
582
637
  overrides: {
583
638
  files: string[];
@@ -577,6 +577,61 @@ declare const _default: {
577
577
  requireStringLiterals: true;
578
578
  }];
579
579
  'vars-on-top': "error";
580
+ 'vue/component-definition-name-casing': ["error", "PascalCase"];
581
+ 'vue/define-emits-declaration': ["error", "type-based"];
582
+ 'vue/define-props-declaration': ["error", "type-based"];
583
+ 'vue/define-props-destructuring': ["error", {
584
+ destructure: "never";
585
+ }];
586
+ 'vue/max-props': "off";
587
+ 'vue/next-tick-style': ["error", "promise"];
588
+ 'vue/no-arrow-functions-in-watch': "error";
589
+ 'vue/no-async-in-computed-properties': "error";
590
+ 'vue/no-computed-properties-in-data': "error";
591
+ 'vue/no-deprecated-data-object-declaration': "error";
592
+ 'vue/no-deprecated-delete-set': "error";
593
+ 'vue/no-deprecated-destroyed-lifecycle': "error";
594
+ 'vue/no-deprecated-events-api': "error";
595
+ 'vue/no-deprecated-model-definition': ["error", {
596
+ allowVue3Compat: false;
597
+ }];
598
+ 'vue/no-deprecated-props-default-this': "error";
599
+ 'vue/no-deprecated-vue-config-keycodes': "error";
600
+ 'vue/no-dupe-keys': "error";
601
+ 'vue/no-export-in-script-setup': "error";
602
+ 'vue/no-expose-after-await': "error";
603
+ 'vue/no-import-compiler-macros': "error";
604
+ 'vue/no-lifecycle-after-await': "error";
605
+ 'vue/no-multiple-slot-args': "error";
606
+ 'vue/no-required-prop-with-default': "error";
607
+ 'vue/no-reserved-component-names': ["error", {
608
+ disallowVueBuiltInComponents: true;
609
+ disallowVue3BuiltInComponents: true;
610
+ }];
611
+ 'vue/no-reserved-keys': "error";
612
+ 'vue/no-reserved-props': ["error", {
613
+ vueVersion: number;
614
+ }];
615
+ 'vue/no-shared-component-data': "error";
616
+ 'vue/no-side-effects-in-computed-properties': "error";
617
+ 'vue/no-this-in-before-route-enter': "error";
618
+ 'vue/no-watch-after-await': "error";
619
+ 'vue/prefer-import-from-vue': "error";
620
+ 'vue/prop-name-casing': ["error", "camelCase"];
621
+ 'vue/require-default-export': "error";
622
+ 'vue/require-default-prop': "error";
623
+ 'vue/require-direct-export': "error";
624
+ 'vue/require-prop-type-constructor': "error";
625
+ 'vue/require-prop-types': "error";
626
+ 'vue/require-render-return': "error";
627
+ 'vue/require-slots-as-functions': "error";
628
+ 'vue/require-typed-ref': "error";
629
+ 'vue/return-in-computed-property': "error";
630
+ 'vue/return-in-emits-validator': "error";
631
+ 'vue/valid-define-emits': "error";
632
+ 'vue/valid-define-options': "error";
633
+ 'vue/valid-define-props': "error";
634
+ 'vue/valid-next-tick': "error";
580
635
  };
581
636
  overrides: {
582
637
  files: string[];
@@ -1 +1 @@
1
- import{defineConfig as e}from"oxlint";var t=e({plugins:[`eslint`,`import`,`jsdoc`,`oxc`,`promise`,`typescript`,`unicorn`,`node`],jsPlugins:[`@stylistic/eslint-plugin`,{name:`anti-slop`,specifier:`@devlsh/tools/oxlint/anti-slop`}],options:{reportUnusedDisableDirectives:`error`,typeAware:!0,typeCheck:!1},ignorePatterns:[`.agent/**`,`.agents/**`,`.claude/**`,`.codex/**`,`.continue/**`,`.cursor/**`,`.gemini/**`,`.opencode/**`,`.pi/**`,`.roo/**`,`.windsurf/**`],rules:{"anti-slop/no-array-filter-map":`error`,"anti-slop/no-chained-type-assertions":`error`,"anti-slop/no-conditional-empty-object-spread":`error`,"anti-slop/no-known-value-widening":`error`,"anti-slop/no-module-mocking":`error`,"anti-slop/no-object-parameters":`error`,"anti-slop/no-reduce-accumulator-copy":`error`,"anti-slop/no-reflect-apply":`error`,"anti-slop/no-reflect-get":`error`,"anti-slop/no-runtime-typeof":`error`,"anti-slop/no-shape-in-symbol-names":`error`,"anti-slop/no-unknown-parameters":`error`,"anti-slop/no-unknown-returns":`error`,"anti-slop/no-unknown-type-aliases":`error`,"anti-slop/no-unsafe-dictionary-type":`error`,"anti-slop/no-widen-then-assert":`error`,"anti-slop/require-readable-spacing":`off`,"anti-slop/require-safety-comment-for-type-assertion":`error`,"@stylistic/object-curly-newline":[`error`,{ObjectExpression:{minProperties:2,consistent:!0},TSTypeLiteral:{multiline:!0,consistent:!0},TSInterfaceBody:{minProperties:2,consistent:!0}}],"@stylistic/object-property-newline":[`error`,{allowAllPropertiesOnSameLine:!0}],"@stylistic/padding-line-between-statements":[`error`,{blankLine:`always`,prev:`import`,next:`*`},{blankLine:`always`,prev:`*`,next:{selector:`Program > :not(ImportDeclaration)`}},{blankLine:`always`,prev:{selector:`Program > :not(ImportDeclaration)`},next:`*`},{blankLine:`always`,prev:`*`,next:[`function`,`class`,`interface`,`type`]},{blankLine:`always`,prev:[`function`,`class`,`interface`,`type`],next:`*`},{blankLine:`always`,prev:`*`,next:[`multiline-const`,`multiline-let`,`multiline-var`,`multiline-using`]},{blankLine:`always`,prev:[`multiline-const`,`multiline-let`,`multiline-var`,`multiline-using`],next:`*`},{blankLine:`always`,prev:`*`,next:[`return`,`if`,`switch`,`try`,`for`,`while`,`do`]},{blankLine:`always`,prev:`block-like`,next:`*`},{blankLine:`any`,prev:`import`,next:`import`},{blankLine:`any`,prev:{selector:`:matches(TSDeclareFunction, ExportNamedDeclaration[declaration.type="TSDeclareFunction"])`},next:{selector:`:matches(TSDeclareFunction, FunctionDeclaration, ExportNamedDeclaration[declaration.type="TSDeclareFunction"], ExportNamedDeclaration[declaration.type="FunctionDeclaration"])`}}],"block-scoped-var":`error`,"default-case-last":`error`,"default-param-last":`error`,"eslint/array-callback-return":[`error`,{allowImplicit:!1,allowVoid:!1,checkForEach:!0}],"eslint/curly":[`error`,`all`],"eslint/eqeqeq":`error`,"eslint/grouped-accessor-pairs":[`error`,`getBeforeSet`,{enforceForTSTypes:!0}],"eslint/logical-assignment-operators":[`error`,`always`,{enforceForIfStatements:!1}],"eslint/max-classes-per-file":[`error`,{ignoreExpressions:!0,max:6}],"eslint/max-params":[`error`,{countThis:`except-void`,max:4}],"eslint/no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"eslint/no-else-return":[`error`,{allowElseIf:!0}],"eslint/no-empty-function":[`error`,{allow:[`methods`,`asyncMethods`,`constructors`,`privateConstructors`,`protectedConstructors`,`overrideMethods`]}],"eslint/no-extend-native":`error`,"eslint/no-fallthrough":[`error`,{allowEmptyCase:!0,commentPattern:`falls?\\s?through`,reportUnusedFallthroughComment:!0}],"eslint/no-implicit-coercion":[`error`,{allow:[],boolean:!0,disallowTemplateShorthand:!1,number:!0,string:!0}],"eslint/no-implicit-globals":[`error`,{lexicalBindings:!0}],"eslint/no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"eslint/no-multi-assign":`error`,"eslint/no-promise-executor-return":[`error`,{allowVoid:!1}],"eslint/no-redeclare":[`error`,{builtinGlobals:!0}],"eslint/no-return-assign":[`error`,`always`],"eslint/no-sequences":[`error`,{allowInParentheses:!1}],"eslint/no-unneeded-ternary":[`error`,{defaultAssignment:!0}],"eslint/no-unused-vars":[`error`,{vars:`all`,args:`all`,caughtErrors:`all`,varsIgnorePattern:`^_`,argsIgnorePattern:`^_`,caughtErrorsIgnorePattern:`^_`,destructuredArrayIgnorePattern:`^_`,ignoreClassWithStaticInitBlock:!1,ignoreRestSiblings:!1,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!0,reportVarsOnlyUsedAsTypes:!0,fix:{imports:`safe-fix`,variables:`suggestion`}}],"eslint/no-use-before-define":[`error`,{allowNamedExports:!0,classes:!0,enums:!0,functions:!1,ignoreTypeReferences:!0,typedefs:!1,variables:!1}],"eslint/no-useless-computed-key":[`error`,{enforceForClassMembers:!0}],"eslint/object-shorthand":[`error`,`always`,{avoidExplicitReturnArrows:!1,avoidQuotes:!0,ignoreConstructors:!1}],"eslint/operator-assignment":[`error`,`always`],"eslint/prefer-destructuring":[`error`,{VariableDeclarator:{array:!1,object:!0},AssignmentExpression:{array:!1,object:!1}},{enforceForRenamedProperties:!1}],"eslint/prefer-promise-reject-errors":`error`,"eslint/prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],"eslint/preserve-caught-error":`error`,"eslint/radix":[`error`,`always`],"eslint/require-yield":`off`,"eslint/require-unicode-regexp":[`error`,{requireFlag:`u`}],"eslint/unicode-bom":[`error`,`never`],"eslint/yoda":[`error`,`never`],"import/consistent-type-specifier-style":[`error`,`prefer-inline`],"import/default":`error`,"import/export":`error`,"import/extensions":[`error`,`never`,{ignorePackages:!0,checkTypeImports:!1,pathGroupOverrides:[{pattern:`**/*.{css,json,frag,png,vert}`,action:`ignore`},{pattern:`**/*.{css,json,frag,png,vert}?*`,action:`ignore`}]}],"import/first":`error`,"import/named":`error`,"import/namespace":`error`,"import/newline-after-import":`error`,"import/no-absolute-path":`error`,"import/no-amd":`error`,"import/no-anonymous-default-export":[`error`,{allowAnonymousClass:!1,allowAnonymousFunction:!1,allowArray:!1,allowArrowFunction:!1,allowCallExpression:!1,allowLiteral:!1,allowNew:!1,allowObject:!1}],"import/no-commonjs":[`error`,{allowConditionalRequire:!1,allowPrimitiveModules:!1,allowRequire:!1}],"import/no-cycle":`error`,"import/no-default-export":`off`,"import/no-duplicates":`error`,"import/no-dynamic-require":`error`,"import/no-empty-named-blocks":`error`,"import/no-mutable-exports":`error`,"import/no-named-as-default":`error`,"import/no-named-as-default-member":`error`,"import/no-named-default":`error`,"import/no-self-import":`error`,"jsdoc/check-tag-names":`error`,"jsdoc/empty-tags":`error`,"jsdoc/no-blank-blocks":[`error`,{enableFixer:!0}],"jsdoc/require-param-name":`error`,"jsdoc/require-throws-description":`error`,"jsdoc/require-yields-description":`error`,"jsx_a11y/aria-props":`error`,"jsx_a11y/aria-role":`error`,"jsx_a11y/iframe-has-title":`error`,"no-alert":`error`,"no-array-constructor":`error`,"no-case-declarations":`error`,"no-constant-binary-expression":`error`,"no-constructor-return":`error`,"no-div-regex":`error`,"no-eq-null":`error`,"no-extra-bind":`error`,"no-extra-label":`error`,"no-eval":[`error`,{allowIndirect:!1}],"no-irregular-whitespace":[`error`,{skipComments:!1,skipJSXText:!1,skipRegExps:!1,skipStrings:!1,skipTemplates:!1}],"no-negated-condition":`error`,"no-new":`error`,"no-new-func":`error`,"no-new-wrappers":`error`,"no-object-constructor":`error`,"no-proto":`error`,"no-prototype-builtins":`error`,"no-regex-spaces":`error`,"no-script-url":`error`,"no-self-compare":`error`,"no-unexpected-multiline":`error`,"no-unmodified-loop-condition":`error`,"no-unreachable-loop":`error`,"no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"no-useless-assignment":`error`,"no-useless-call":`error`,"no-useless-concat":`error`,"no-useless-constructor":`error`,"no-useless-return":`error`,"no-var":`error`,"node/handle-callback-err":[`error`,`^(err|error)$`],"node/no-mixed-requires":`error`,"node/no-path-concat":`error`,"node/no-sync":`error`,"oxc/approx-constant":`error`,"oxc/bad-bitwise-operator":`error`,"oxc/branches-sharing-code":`error`,"oxc/misrefactored-assign-op":`error`,"oxc/no-accumulating-spread":`error`,"oxc/no-const-enum":`error`,"oxc/no-map-spread":[`error`,{ignoreArgs:!1,ignoreRereads:!0}],"oxc/no-this-in-exported-function":`error`,"prefer-exponentiation-operator":`error`,"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-object-spread":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`,"prefer-template":`error`,"promise/catch-or-return":[`error`,{allowFinally:!0,allowThen:!0,allowThenStrict:!1,terminationMethod:[`catch`]}],"promise/no-callback-in-promise":`error`,"promise/no-multiple-resolved":`error`,"promise/no-nesting":`error`,"promise/no-new-statics":`error`,"promise/no-return-in-finally":`error`,"promise/no-return-wrap":`error`,"promise/prefer-catch":`error`,"promise/spec-only":`error`,"react/button-has-type":`error`,"react/checked-requires-onchange-or-readonly":`error`,"react/exhaustive-deps":`error`,"react/forward-ref-uses-ref":`error`,"react/iframe-missing-sandbox":`error`,"react/jsx-boolean-value":[`error`,`never`],"react/jsx-curly-brace-presence":[`error`,{props:`never`,children:`never`,propElementValues:`always`}],"react/jsx-key":`error`,"react/jsx-no-comment-textnodes":`error`,"react/jsx-no-constructed-context-values":`error`,"react/jsx-no-duplicate-props":`error`,"react/jsx-no-script-url":`error`,"react/jsx-no-target-blank":`error`,"react/jsx-no-useless-fragment":`error`,"react/jsx-pascal-case":[`error`,{allowAllCaps:!0}],"react/jsx-props-no-spread-multi":`error`,"react/no-children-prop":`error`,"react/no-danger":`error`,"react/no-danger-with-children":`error`,"react/no-find-dom-node":`error`,"react/no-multi-comp":[`error`,{ignoreStateless:!0}],"react/no-namespace":`error`,"react/no-unknown-property":[`error`,{requireDataLowercase:!0}],"react/function-component-definition":[`error`,{namedComponents:`function-declaration`,unnamedComponents:`function-expression`}],"react/prefer-function-component":`error`,"react/capitalized-calls":`error`,"react/error-boundaries":`error`,"react/globals":`error`,"react/hooks":`error`,"react/immutability":`error`,"react/invariant":`error`,"react/no-deriving-state-in-effects":`error`,"react/preserve-manual-memoization":`error`,"react/purity":`error`,"react/refs":`error`,"react/rule-suppression":`error`,"react/set-state-in-effect":`error`,"react/set-state-in-render":`error`,"react/static-components":`error`,"react/syntax":`error`,"react/use-memo":`error`,"react/void-use-memo":`error`,"react/rules-of-hooks":`error`,"react/self-closing-comp":`error`,"react/style-prop-object":`error`,"react/void-dom-elements-no-children":`error`,"symbol-description":`error`,"typescript/adjacent-overload-signatures":`error`,"typescript/array-type":[`error`,{default:`array`,readonly:`array`}],"typescript/consistent-type-definitions":[`error`,`interface`],"typescript/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"typescript/consistent-type-imports":[`error`,{prefer:`type-imports`,fixStyle:`inline-type-imports`,disallowTypeAnnotations:!0}],"typescript/dot-notation":`error`,"typescript/explicit-member-accessibility":[`error`,{accessibility:`no-public`}],"typescript/no-confusing-non-null-assertion":`error`,"typescript/no-confusing-void-expression":[`error`,{ignoreArrowShorthand:!0,ignoreVoidOperator:!0,ignoreVoidReturningFunctions:!1}],"typescript/no-deprecated":`error`,"typescript/no-empty-interface":`error`,"typescript/no-inferrable-types":[`error`,{ignoreParameters:!1,ignoreProperties:!1}],"typescript/no-misused-promises":`error`,"typescript/no-non-null-asserted-nullish-coalescing":`error`,"typescript/no-non-null-assertion":`error`,"typescript/no-require-imports":`error`,"typescript/no-unnecessary-boolean-literal-compare":`error`,"typescript/no-unnecessary-qualifier":`error`,"typescript/no-unnecessary-template-expression":`error`,"typescript/no-unnecessary-type-arguments":`error`,"typescript/no-unnecessary-type-assertion":`error`,"typescript/no-unnecessary-type-constraint":`error`,"typescript/no-unnecessary-type-conversion":`error`,"typescript/no-unsafe-function-type":`error`,"typescript/no-unsafe-member-access":`error`,"typescript/no-unsafe-return":`error`,"typescript/only-throw-error":[`error`,{allowRethrowing:!1,allowThrowingAny:!1,allowThrowingUnknown:!1}],"typescript/parameter-properties":`error`,"typescript/prefer-find":`error`,"typescript/prefer-function-type":`error`,"typescript/prefer-includes":`error`,"typescript/prefer-nullish-coalescing":`error`,"typescript/prefer-optional-chain":[`error`,{requireNullish:!0,allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing:!1}],"typescript/prefer-promise-reject-errors":`error`,"typescript/prefer-readonly":`error`,"typescript/prefer-ts-expect-error":`error`,"typescript/promise-function-async":`error`,"typescript/related-getter-setter-pairs":`error`,"typescript/restrict-plus-operands":[`error`,{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1,skipCompoundAssignments:!1}],"typescript/return-await":[`error`,`error-handling-correctness-only`],"typescript/require-array-sort-compare":[`error`,{ignoreStringArrays:!1}],"typescript/strict-void-return":`error`,"typescript/switch-exhaustiveness-check":`error`,"typescript/unbound-method":`off`,"typescript/unified-signatures":`error`,"typescript/use-unknown-in-catch-callback-variable":`error`,"unicorn/catch-error-name":`error`,"unicorn/consistent-assert":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/empty-brace-spaces":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/new-for-builtins":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-fill-with-reference-type":`error`,"unicorn/no-array-for-each":`error`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-confusing-array-with":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-instanceof-array":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":`error`,"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-includes":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-single-call":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-ternary":[`error`,`only-single-line`],"unicorn/relative-url-style":[`error`,`always`],"unicorn/require-array-join-separator":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-post-message-target-origin":`error`,"unicorn/switch-case-braces":[`error`,`avoid`],"unicorn/text-encoding-identifier-case":`error`,"use-isnan":[`error`,{enforceForIndexOf:!0}],"valid-typeof":[`error`,{requireStringLiterals:!0}],"vars-on-top":`error`},overrides:[{files:[`**/*.config.ts`],rules:{"import/no-anonymous-default-export":`off`,"import/no-default-export":`off`}}],env:{builtin:!0}});export{t as default};
1
+ import{defineConfig as e}from"oxlint";var t=e({plugins:[`eslint`,`import`,`jsdoc`,`oxc`,`promise`,`typescript`,`unicorn`,`node`],jsPlugins:[`@stylistic/eslint-plugin`,{name:`anti-slop`,specifier:`@devlsh/tools/oxlint/anti-slop`}],options:{reportUnusedDisableDirectives:`error`,typeAware:!0,typeCheck:!1},ignorePatterns:[`.agent/**`,`.agents/**`,`.claude/**`,`.codex/**`,`.continue/**`,`.cursor/**`,`.gemini/**`,`.opencode/**`,`.pi/**`,`.roo/**`,`.windsurf/**`],rules:{"anti-slop/no-array-filter-map":`error`,"anti-slop/no-chained-type-assertions":`error`,"anti-slop/no-conditional-empty-object-spread":`error`,"anti-slop/no-known-value-widening":`error`,"anti-slop/no-module-mocking":`error`,"anti-slop/no-object-parameters":`error`,"anti-slop/no-reduce-accumulator-copy":`error`,"anti-slop/no-reflect-apply":`error`,"anti-slop/no-reflect-get":`error`,"anti-slop/no-runtime-typeof":`error`,"anti-slop/no-shape-in-symbol-names":`error`,"anti-slop/no-unknown-parameters":`error`,"anti-slop/no-unknown-returns":`error`,"anti-slop/no-unknown-type-aliases":`error`,"anti-slop/no-unsafe-dictionary-type":`error`,"anti-slop/no-widen-then-assert":`error`,"anti-slop/require-readable-spacing":`off`,"anti-slop/require-safety-comment-for-type-assertion":`error`,"@stylistic/object-curly-newline":[`error`,{ObjectExpression:{minProperties:2,consistent:!0},TSTypeLiteral:{multiline:!0,consistent:!0},TSInterfaceBody:{minProperties:2,consistent:!0}}],"@stylistic/object-property-newline":[`error`,{allowAllPropertiesOnSameLine:!0}],"@stylistic/padding-line-between-statements":[`error`,{blankLine:`always`,prev:`import`,next:`*`},{blankLine:`always`,prev:`*`,next:{selector:`Program > :not(ImportDeclaration)`}},{blankLine:`always`,prev:{selector:`Program > :not(ImportDeclaration)`},next:`*`},{blankLine:`always`,prev:`*`,next:[`function`,`class`,`interface`,`type`]},{blankLine:`always`,prev:[`function`,`class`,`interface`,`type`],next:`*`},{blankLine:`always`,prev:`*`,next:[`multiline-const`,`multiline-let`,`multiline-var`,`multiline-using`]},{blankLine:`always`,prev:[`multiline-const`,`multiline-let`,`multiline-var`,`multiline-using`],next:`*`},{blankLine:`always`,prev:`*`,next:[`return`,`if`,`switch`,`try`,`for`,`while`,`do`]},{blankLine:`always`,prev:`block-like`,next:`*`},{blankLine:`any`,prev:`import`,next:`import`},{blankLine:`any`,prev:{selector:`:matches(TSDeclareFunction, ExportNamedDeclaration[declaration.type="TSDeclareFunction"])`},next:{selector:`:matches(TSDeclareFunction, FunctionDeclaration, ExportNamedDeclaration[declaration.type="TSDeclareFunction"], ExportNamedDeclaration[declaration.type="FunctionDeclaration"])`}}],"block-scoped-var":`error`,"default-case-last":`error`,"default-param-last":`error`,"eslint/array-callback-return":[`error`,{allowImplicit:!1,allowVoid:!1,checkForEach:!0}],"eslint/curly":[`error`,`all`],"eslint/eqeqeq":`error`,"eslint/grouped-accessor-pairs":[`error`,`getBeforeSet`,{enforceForTSTypes:!0}],"eslint/logical-assignment-operators":[`error`,`always`,{enforceForIfStatements:!1}],"eslint/max-classes-per-file":[`error`,{ignoreExpressions:!0,max:6}],"eslint/max-params":[`error`,{countThis:`except-void`,max:4}],"eslint/no-duplicate-imports":[`error`,{allowSeparateTypeImports:!1,includeExports:!1}],"eslint/no-else-return":[`error`,{allowElseIf:!0}],"eslint/no-empty-function":[`error`,{allow:[`methods`,`asyncMethods`,`constructors`,`privateConstructors`,`protectedConstructors`,`overrideMethods`]}],"eslint/no-extend-native":`error`,"eslint/no-fallthrough":[`error`,{allowEmptyCase:!0,commentPattern:`falls?\\s?through`,reportUnusedFallthroughComment:!0}],"eslint/no-implicit-coercion":[`error`,{allow:[],boolean:!0,disallowTemplateShorthand:!1,number:!0,string:!0}],"eslint/no-implicit-globals":[`error`,{lexicalBindings:!0}],"eslint/no-labels":[`error`,{allowLoop:!1,allowSwitch:!1}],"eslint/no-multi-assign":`error`,"eslint/no-promise-executor-return":[`error`,{allowVoid:!1}],"eslint/no-redeclare":[`error`,{builtinGlobals:!0}],"eslint/no-return-assign":[`error`,`always`],"eslint/no-sequences":[`error`,{allowInParentheses:!1}],"eslint/no-unneeded-ternary":[`error`,{defaultAssignment:!0}],"eslint/no-unused-vars":[`error`,{vars:`all`,args:`all`,caughtErrors:`all`,varsIgnorePattern:`^_`,argsIgnorePattern:`^_`,caughtErrorsIgnorePattern:`^_`,destructuredArrayIgnorePattern:`^_`,ignoreClassWithStaticInitBlock:!1,ignoreRestSiblings:!1,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!0,reportVarsOnlyUsedAsTypes:!0,fix:{imports:`safe-fix`,variables:`suggestion`}}],"eslint/no-use-before-define":[`error`,{allowNamedExports:!0,classes:!0,enums:!0,functions:!1,ignoreTypeReferences:!0,typedefs:!1,variables:!1}],"eslint/no-useless-computed-key":[`error`,{enforceForClassMembers:!0}],"eslint/object-shorthand":[`error`,`always`,{avoidExplicitReturnArrows:!1,avoidQuotes:!0,ignoreConstructors:!1}],"eslint/operator-assignment":[`error`,`always`],"eslint/prefer-destructuring":[`error`,{VariableDeclarator:{array:!1,object:!0},AssignmentExpression:{array:!1,object:!1}},{enforceForRenamedProperties:!1}],"eslint/prefer-promise-reject-errors":`error`,"eslint/prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],"eslint/preserve-caught-error":`error`,"eslint/radix":[`error`,`always`],"eslint/require-yield":`off`,"eslint/require-unicode-regexp":[`error`,{requireFlag:`u`}],"eslint/unicode-bom":[`error`,`never`],"eslint/yoda":[`error`,`never`],"import/consistent-type-specifier-style":[`error`,`prefer-inline`],"import/default":`error`,"import/export":`error`,"import/extensions":[`error`,`never`,{ignorePackages:!0,checkTypeImports:!1,pathGroupOverrides:[{pattern:`**/*.{css,json,frag,png,vert}`,action:`ignore`},{pattern:`**/*.{css,json,frag,png,vert}?*`,action:`ignore`}]}],"import/first":`error`,"import/named":`error`,"import/namespace":`error`,"import/newline-after-import":`error`,"import/no-absolute-path":`error`,"import/no-amd":`error`,"import/no-anonymous-default-export":[`error`,{allowAnonymousClass:!1,allowAnonymousFunction:!1,allowArray:!1,allowArrowFunction:!1,allowCallExpression:!1,allowLiteral:!1,allowNew:!1,allowObject:!1}],"import/no-commonjs":[`error`,{allowConditionalRequire:!1,allowPrimitiveModules:!1,allowRequire:!1}],"import/no-cycle":`error`,"import/no-default-export":`off`,"import/no-duplicates":`error`,"import/no-dynamic-require":`error`,"import/no-empty-named-blocks":`error`,"import/no-mutable-exports":`error`,"import/no-named-as-default":`error`,"import/no-named-as-default-member":`error`,"import/no-named-default":`error`,"import/no-self-import":`error`,"jsdoc/check-tag-names":`error`,"jsdoc/empty-tags":`error`,"jsdoc/no-blank-blocks":[`error`,{enableFixer:!0}],"jsdoc/require-param-name":`error`,"jsdoc/require-throws-description":`error`,"jsdoc/require-yields-description":`error`,"jsx_a11y/aria-props":`error`,"jsx_a11y/aria-role":`error`,"jsx_a11y/iframe-has-title":`error`,"no-alert":`error`,"no-array-constructor":`error`,"no-case-declarations":`error`,"no-constant-binary-expression":`error`,"no-constructor-return":`error`,"no-div-regex":`error`,"no-eq-null":`error`,"no-extra-bind":`error`,"no-extra-label":`error`,"no-eval":[`error`,{allowIndirect:!1}],"no-irregular-whitespace":[`error`,{skipComments:!1,skipJSXText:!1,skipRegExps:!1,skipStrings:!1,skipTemplates:!1}],"no-negated-condition":`error`,"no-new":`error`,"no-new-func":`error`,"no-new-wrappers":`error`,"no-object-constructor":`error`,"no-proto":`error`,"no-prototype-builtins":`error`,"no-regex-spaces":`error`,"no-script-url":`error`,"no-self-compare":`error`,"no-unexpected-multiline":`error`,"no-unmodified-loop-condition":`error`,"no-unreachable-loop":`error`,"no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"no-useless-assignment":`error`,"no-useless-call":`error`,"no-useless-concat":`error`,"no-useless-constructor":`error`,"no-useless-return":`error`,"no-var":`error`,"node/handle-callback-err":[`error`,`^(err|error)$`],"node/no-mixed-requires":`error`,"node/no-path-concat":`error`,"node/no-sync":`error`,"oxc/approx-constant":`error`,"oxc/bad-bitwise-operator":`error`,"oxc/branches-sharing-code":`error`,"oxc/misrefactored-assign-op":`error`,"oxc/no-accumulating-spread":`error`,"oxc/no-const-enum":`error`,"oxc/no-map-spread":[`error`,{ignoreArgs:!1,ignoreRereads:!0}],"oxc/no-this-in-exported-function":`error`,"prefer-exponentiation-operator":`error`,"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-object-spread":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`,"prefer-template":`error`,"promise/catch-or-return":[`error`,{allowFinally:!0,allowThen:!0,allowThenStrict:!1,terminationMethod:[`catch`]}],"promise/no-callback-in-promise":`error`,"promise/no-multiple-resolved":`error`,"promise/no-nesting":`error`,"promise/no-new-statics":`error`,"promise/no-return-in-finally":`error`,"promise/no-return-wrap":`error`,"promise/prefer-catch":`error`,"promise/spec-only":`error`,"react/button-has-type":`error`,"react/checked-requires-onchange-or-readonly":`error`,"react/exhaustive-deps":`error`,"react/forward-ref-uses-ref":`error`,"react/iframe-missing-sandbox":`error`,"react/jsx-boolean-value":[`error`,`never`],"react/jsx-curly-brace-presence":[`error`,{props:`never`,children:`never`,propElementValues:`always`}],"react/jsx-key":`error`,"react/jsx-no-comment-textnodes":`error`,"react/jsx-no-constructed-context-values":`error`,"react/jsx-no-duplicate-props":`error`,"react/jsx-no-script-url":`error`,"react/jsx-no-target-blank":`error`,"react/jsx-no-useless-fragment":`error`,"react/jsx-pascal-case":[`error`,{allowAllCaps:!0}],"react/jsx-props-no-spread-multi":`error`,"react/no-children-prop":`error`,"react/no-danger":`error`,"react/no-danger-with-children":`error`,"react/no-find-dom-node":`error`,"react/no-multi-comp":[`error`,{ignoreStateless:!0}],"react/no-namespace":`error`,"react/no-unknown-property":[`error`,{requireDataLowercase:!0}],"react/function-component-definition":[`error`,{namedComponents:`function-declaration`,unnamedComponents:`function-expression`}],"react/prefer-function-component":`error`,"react/capitalized-calls":`error`,"react/error-boundaries":`error`,"react/globals":`error`,"react/hooks":`error`,"react/immutability":`error`,"react/invariant":`error`,"react/no-deriving-state-in-effects":`error`,"react/preserve-manual-memoization":`error`,"react/purity":`error`,"react/refs":`error`,"react/rule-suppression":`error`,"react/set-state-in-effect":`error`,"react/set-state-in-render":`error`,"react/static-components":`error`,"react/syntax":`error`,"react/use-memo":`error`,"react/void-use-memo":`error`,"react/rules-of-hooks":`error`,"react/self-closing-comp":`error`,"react/style-prop-object":`error`,"react/void-dom-elements-no-children":`error`,"symbol-description":`error`,"typescript/adjacent-overload-signatures":`error`,"typescript/array-type":[`error`,{default:`array`,readonly:`array`}],"typescript/consistent-type-definitions":[`error`,`interface`],"typescript/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"typescript/consistent-type-imports":[`error`,{prefer:`type-imports`,fixStyle:`inline-type-imports`,disallowTypeAnnotations:!0}],"typescript/dot-notation":`error`,"typescript/explicit-member-accessibility":[`error`,{accessibility:`no-public`}],"typescript/no-confusing-non-null-assertion":`error`,"typescript/no-confusing-void-expression":[`error`,{ignoreArrowShorthand:!0,ignoreVoidOperator:!0,ignoreVoidReturningFunctions:!1}],"typescript/no-deprecated":`error`,"typescript/no-empty-interface":`error`,"typescript/no-inferrable-types":[`error`,{ignoreParameters:!1,ignoreProperties:!1}],"typescript/no-misused-promises":`error`,"typescript/no-non-null-asserted-nullish-coalescing":`error`,"typescript/no-non-null-assertion":`error`,"typescript/no-require-imports":`error`,"typescript/no-unnecessary-boolean-literal-compare":`error`,"typescript/no-unnecessary-qualifier":`error`,"typescript/no-unnecessary-template-expression":`error`,"typescript/no-unnecessary-type-arguments":`error`,"typescript/no-unnecessary-type-assertion":`error`,"typescript/no-unnecessary-type-constraint":`error`,"typescript/no-unnecessary-type-conversion":`error`,"typescript/no-unsafe-function-type":`error`,"typescript/no-unsafe-member-access":`error`,"typescript/no-unsafe-return":`error`,"typescript/only-throw-error":[`error`,{allowRethrowing:!1,allowThrowingAny:!1,allowThrowingUnknown:!1}],"typescript/parameter-properties":`error`,"typescript/prefer-find":`error`,"typescript/prefer-function-type":`error`,"typescript/prefer-includes":`error`,"typescript/prefer-nullish-coalescing":`error`,"typescript/prefer-optional-chain":[`error`,{requireNullish:!0,allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing:!1}],"typescript/prefer-promise-reject-errors":`error`,"typescript/prefer-readonly":`error`,"typescript/prefer-ts-expect-error":`error`,"typescript/promise-function-async":`error`,"typescript/related-getter-setter-pairs":`error`,"typescript/restrict-plus-operands":[`error`,{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1,skipCompoundAssignments:!1}],"typescript/return-await":[`error`,`error-handling-correctness-only`],"typescript/require-array-sort-compare":[`error`,{ignoreStringArrays:!1}],"typescript/strict-void-return":`error`,"typescript/switch-exhaustiveness-check":`error`,"typescript/unbound-method":`off`,"typescript/unified-signatures":`error`,"typescript/use-unknown-in-catch-callback-variable":`error`,"unicorn/catch-error-name":`error`,"unicorn/consistent-assert":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/empty-brace-spaces":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/new-for-builtins":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-fill-with-reference-type":`error`,"unicorn/no-array-for-each":`error`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-confusing-array-with":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-instanceof-array":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":`error`,"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-includes":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-single-call":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-ternary":[`error`,`only-single-line`],"unicorn/relative-url-style":[`error`,`always`],"unicorn/require-array-join-separator":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-post-message-target-origin":`error`,"unicorn/switch-case-braces":[`error`,`avoid`],"unicorn/text-encoding-identifier-case":`error`,"use-isnan":[`error`,{enforceForIndexOf:!0}],"valid-typeof":[`error`,{requireStringLiterals:!0}],"vars-on-top":`error`,"vue/component-definition-name-casing":[`error`,`PascalCase`],"vue/define-emits-declaration":[`error`,`type-based`],"vue/define-props-declaration":[`error`,`type-based`],"vue/define-props-destructuring":[`error`,{destructure:`never`}],"vue/max-props":`off`,"vue/next-tick-style":[`error`,`promise`],"vue/no-arrow-functions-in-watch":`error`,"vue/no-async-in-computed-properties":`error`,"vue/no-computed-properties-in-data":`error`,"vue/no-deprecated-data-object-declaration":`error`,"vue/no-deprecated-delete-set":`error`,"vue/no-deprecated-destroyed-lifecycle":`error`,"vue/no-deprecated-events-api":`error`,"vue/no-deprecated-model-definition":[`error`,{allowVue3Compat:!1}],"vue/no-deprecated-props-default-this":`error`,"vue/no-deprecated-vue-config-keycodes":`error`,"vue/no-dupe-keys":`error`,"vue/no-export-in-script-setup":`error`,"vue/no-expose-after-await":`error`,"vue/no-import-compiler-macros":`error`,"vue/no-lifecycle-after-await":`error`,"vue/no-multiple-slot-args":`error`,"vue/no-required-prop-with-default":`error`,"vue/no-reserved-component-names":[`error`,{disallowVueBuiltInComponents:!0,disallowVue3BuiltInComponents:!0}],"vue/no-reserved-keys":`error`,"vue/no-reserved-props":[`error`,{vueVersion:3}],"vue/no-shared-component-data":`error`,"vue/no-side-effects-in-computed-properties":`error`,"vue/no-this-in-before-route-enter":`error`,"vue/no-watch-after-await":`error`,"vue/prefer-import-from-vue":`error`,"vue/prop-name-casing":[`error`,`camelCase`],"vue/require-default-export":`error`,"vue/require-default-prop":`error`,"vue/require-direct-export":`error`,"vue/require-prop-type-constructor":`error`,"vue/require-prop-types":`error`,"vue/require-render-return":`error`,"vue/require-slots-as-functions":`error`,"vue/require-typed-ref":`error`,"vue/return-in-computed-property":`error`,"vue/return-in-emits-validator":`error`,"vue/valid-define-emits":`error`,"vue/valid-define-options":`error`,"vue/valid-define-props":`error`,"vue/valid-next-tick":`error`},overrides:[{files:[`**/*.config.ts`],rules:{"import/no-anonymous-default-export":`off`,"import/no-default-export":`off`}}],env:{builtin:!0}});export{t as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devlsh/tools",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "description": "Personal shared tooling and configs.",
6
6
  "keywords": [
7
7
  "agents",