@hiddenability/opinionated-defaults 0.1.33 → 0.1.34

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.
@@ -1 +1 @@
1
- import f from"eslint-plugin-astro";var i=[...f.configs.recommended],s=i;import a from"@eslint/js";import p from"@stylistic/eslint-plugin";import m from"@typescript-eslint/parser";import c from"eslint-plugin-prefer-arrow-functions";import g from"eslint-plugin-unicorn";import e from"globals";import l from"typescript-eslint";var u=[{ignores:["**/dist/","**/node_modules/","**/.git/"]},{files:["**/*.ts","**/*.js","**/*.mjs","**/*.mts","**/*.tsx","**/*.jsx"]},...l.configs.recommendedTypeChecked,a.configs.recommended,g.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":c},rules:{"prefer-arrow-functions/prefer-arrow-functions":["error",{returnStyle:"implicit"}]}},{plugins:{"@stylistic":p},rules:{"@stylistic/quotes":["error","backtick"]}}],d=u;var y=(n)=>n;import o from"eslint-plugin-functional";var C=[o.configs.externalTypeScriptRecommended,o.configs.recommended,o.configs.stylistic,{rules:{"functional/no-expression-statements":["off"],"functional/no-return-void":["off"]}}],x=C;import t from"@next/eslint-plugin-next";var A=[{ignores:["**/next-env.d.ts"]},{plugins:{"@next/next":t},rules:{...t.configs.recommended.rules,...t.configs["core-web-vitals"].rules}}],R=A;import k from"eslint-plugin-oxlint";var w=[...k.configs["flat/recommended"]],N=w;import b from"eslint-plugin-perfectionist";var B=[b.configs["recommended-natural"],{rules:{"perfectionist/sort-object-types":["warn",{partitionByNewLine:!0}],"perfectionist/sort-objects":["warn",{partitionByNewLine:!0}]}}],O=B;import j from"eslint-plugin-prettier/recommended";var v=[j,{rules:{"prettier/prettier":"warn"}}],L=v;import r from"eslint-plugin-react";import T from"eslint-plugin-react-hooks";import{defineConfig as H}from"eslint/config";var J=H([r.configs.flat.recommended,r.configs.flat["jsx-runtime"],{extends:["react-hooks/recommended"],plugins:{"react-hooks":T}},{settings:{react:{version:"detect"}}}]),S=J;import h from"eslint-plugin-no-relative-import-paths";var q=[{plugins:{"no-relative-import-paths":h},rules:{"no-relative-import-paths/no-relative-import-paths":["error",{prefix:"@"}]}}],z=q;import D from"eslint-plugin-solid/configs/typescript";var E=[D],F=E;import G from"eslint-plugin-turbo";var K=[G.configs["flat/recommended"]],M=K;export{M as eslintConfigTurbo,F as eslintConfigSolid,z as eslintConfigRelative,S as eslintConfigReact,L as eslintConfigPrettier,O as eslintConfigPerfectionist,N as eslintConfigOxlint,R as eslintConfigNext,x as eslintConfigFunctional,d as eslintConfigBase,s as eslintConfigAstro,y as eslintConfig};
1
+ import f from"eslint-plugin-astro";var i=[...f.configs.recommended],s=i;import a from"@eslint/js";import p from"@typescript-eslint/parser";import m from"eslint-plugin-prefer-arrow-functions";import c from"eslint-plugin-unicorn";import e from"globals";import g from"typescript-eslint";var l=[{ignores:["**/dist/","**/node_modules/","**/.git/"]},{files:["**/*.ts","**/*.js","**/*.mjs","**/*.mts","**/*.tsx","**/*.jsx"]},...g.configs.recommendedTypeChecked,a.configs.recommended,c.configs.recommended,{languageOptions:{globals:{...e.nodeBuiltin,...e.browser},parser:p,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":m},rules:{"prefer-arrow-functions/prefer-arrow-functions":["error",{returnStyle:"implicit"}]}}],u=l;var d=(n)=>n;import o from"eslint-plugin-functional";var y=[o.configs.externalTypeScriptRecommended,o.configs.recommended,o.configs.stylistic,{rules:{"functional/no-expression-statements":["off"],"functional/no-return-void":["off"]}}],C=y;import t from"@next/eslint-plugin-next";var x=[{ignores:["**/next-env.d.ts"]},{plugins:{"@next/next":t},rules:{...t.configs.recommended.rules,...t.configs["core-web-vitals"].rules}}],A=x;import R from"eslint-plugin-oxlint";var k=[...R.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"@stylistic/eslint-plugin";import j from"eslint-plugin-prettier/recommended";var v=[j,{plugins:{"@stylistic":O},rules:{"@stylistic/quotes":["warn","backtick",{avoidEscape:!0}],"prettier/prettier":"warn"}}],L=v;import r from"eslint-plugin-react";import T from"eslint-plugin-react-hooks";import{defineConfig as H}from"eslint/config";var J=H([r.configs.flat.recommended,r.configs.flat["jsx-runtime"],{extends:["react-hooks/recommended"],plugins:{"react-hooks":T}},{settings:{react:{version:"detect"}}}]),S=J;import h from"eslint-plugin-no-relative-import-paths";var q=[{plugins:{"no-relative-import-paths":h},rules:{"no-relative-import-paths/no-relative-import-paths":["error",{prefix:"@"}]}}],z=q;import D from"eslint-plugin-solid/configs/typescript";var E=[D],F=E;import G from"eslint-plugin-turbo";var K=[G.configs["flat/recommended"]],M=K;export{M as eslintConfigTurbo,F as eslintConfigSolid,z as eslintConfigRelative,S as eslintConfigReact,L as eslintConfigPrettier,B as eslintConfigPerfectionist,w as eslintConfigOxlint,A as eslintConfigNext,C as eslintConfigFunctional,u as eslintConfigBase,s as eslintConfigAstro,d as eslintConfig};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hiddenability/opinionated-defaults",
3
3
  "description": "Opinionated default configurations for webdev tools.",
4
- "version": "0.1.33",
4
+ "version": "0.1.34",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",