@hiddenability/opinionated-defaults 0.1.28 → 0.1.29
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/eslint/index.mjs +1 -1
- package/package.json +1 -1
package/dist/eslint/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import f from"eslint-plugin-astro";var s=[...f.configs.recommended],a=s;import p from"@eslint/js";import m from"@typescript-eslint/parser";import
|
|
1
|
+
import f from"eslint-plugin-astro";var s=[...f.configs.recommended],a=s;import p from"@eslint/js";import m from"@typescript-eslint/parser";import l from"eslint-plugin-prefer-arrow-functions";import c from"eslint-plugin-unicorn";import e from"globals";import g from"typescript-eslint";var y=[{ignores:["**/dist/","**/node_modules/","**/.direnv/","**/.git/"]},{files:["**/*.ts","**/*.js","**/*.mjs","**/*.mts","**/*.tsx","**/*.jsx"]},...g.configs.recommendedTypeChecked,p.configs.recommended,c.configs.recommended,{languageOptions:{globals:{...e.nodeBuiltin,...e.browser},parser:m,parserOptions:{projectService:!0}},rules:{"@typescript-eslint/no-misused-promises":["error",{checksVoidReturn:!1}],"@typescript-eslint/no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0,varsIgnorePattern:"^_"}],"@typescript-eslint/prefer-nullish-coalescing":"error","no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0,varsIgnorePattern:"^_"}]}},{rules:{"unicorn/filename-case":["error",{cases:{kebabCase:!0}}],"unicorn/no-array-for-each":["off"],"unicorn/no-array-reduce":["off"],"unicorn/prevent-abbreviations":["off"]}},{plugins:{"prefer-arrow-functions":l},rules:{"prefer-arrow-functions/prefer-arrow-functions":["error",{returnStyle:"implicit"}]}},{rules:{"no-console":"warn",quotes:["warn","backtick",{avoidEscape:!0}]}}],d=y;var u=(n)=>n;import t from"eslint-plugin-functional";var C=[t.configs.externalTypeScriptRecommended,t.configs.recommended,t.configs.stylistic,{rules:{"functional/no-expression-statements":["off"],"functional/no-return-void":["off"]}}],x=C;import o from"@next/eslint-plugin-next";var A=[{plugins:{"@next/next":o},rules:{...o.configs.recommended.rules,...o.configs["core-web-vitals"].rules}}],R=A;import j from"eslint-plugin-oxlint";var k=[...j.configs["flat/recommended"]],w=k;import N from"eslint-plugin-perfectionist";var b=[N.configs["recommended-natural"],{rules:{"perfectionist/sort-object-types":["warn",{partitionByNewLine:!0}],"perfectionist/sort-objects":["warn",{partitionByNewLine:!0}]}}],B=b;import O from"eslint-plugin-prettier/recommended";var v=[O,{rules:{"prettier/prettier":"warn",quotes:["warn","backtick",{avoidEscape:!0}]}}],L=v;import r from"eslint-plugin-react";import S from"eslint-plugin-react-hooks";import{defineConfig as T}from"eslint/config";var H=T([r.configs.flat.recommended,r.configs.flat["jsx-runtime"],{ignores:["**/dist/","**/node_modules/","**/.direnv/","**/.git/"]},{files:["**/*.ts","**/*.js","**/*.mjs","**/*.mts","**/*.tsx","**/*.jsx"]},{extends:["react-hooks/recommended"],plugins:{"react-hooks":S}},{settings:{react:{version:"detect"}}}]),J=H;import _ from"eslint-plugin-no-relative-import-paths";var h=[{plugins:{"no-relative-import-paths":_},rules:{"no-relative-import-paths/no-relative-import-paths":["error",{prefix:"@"}]}}],q=h;import z from"eslint-plugin-solid/configs/typescript";var D=[z],E=D;import i from"@stylistic/eslint-plugin";var F=[i.configs.all,{plugins:{"@stylistic":i}}],G=F;import K from"eslint-plugin-turbo";var M=[K.configs["flat/recommended"]],Q=M;export{Q as eslintConfigTurbo,G as eslintConfigStylistic,E as eslintConfigSolid,q as eslintConfigRelative,J as eslintConfigReact,L as eslintConfigPrettier,B as eslintConfigPerfectionist,w as eslintConfigOxlint,R as eslintConfigNext,x as eslintConfigFunctional,d as eslintConfigBase,a as eslintConfigAstro,u as eslintConfig};
|