@anolilab/eslint-config 16.0.0 → 16.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.
@@ -0,0 +1 @@
1
+ var u=Object.defineProperty;var c=(s,t)=>u(s,"name",{value:t,configurable:!0});var d=Object.defineProperty,m=c((s,t)=>d(s,"name",{value:t,configurable:!0}),"e");const e=["**/*.d.ts","**/*.d.cts","**/*.d.mts"],r=["**/*.ts","**/*.cts","**/*.mts"],n=["**/*.tsx","**/*.mtsx","**/*.ctsx"],a=["**/*.js","**/*.mjs","**/*.cjs"],o=["**/*.jsx","**/*.mjsx","**/*.cjsx"],l=m(s=>{switch(s){case"all":return[...a,...e,...r,...n,...o];case"astro":return["**/*.astro"];case"astro_ts":return["**/*.astro/*.ts"];case"css":return["**/*.css"];case"d.ts":return e;case"e2e":return["**/e2e/**/*.test.{js,ts,jsx,tsx}"];case"graphql":return["**/*.{g,graph}ql"];case"html":return["**/*.erb","**/*.handlebars","**/*.hbs","**/*.htm","**/*.html","**/*.mustache","**/*.nunjucks","**/*.php","**/*.tag","**/*.twig","**/*.we"];case"js":return a;case"js_and_ts":return[...a,...r];case"jsx_and_tsx":return[...o,...n];case"less":return["**/*.less"];case"markdown":return["**/*.{md,mkdn,mdown,markdown}"];case"markdown_in_markdown":return["**/*.{md,mkdn,mdown,markdown}/*.{md,mkdn,mdown,markdown}"];case"markdown_inline_js_jsx":return["**/*.{md,mkdn,mdown,markdown}/*.{js,javascript,jsx,node,json}"];case"postcss":return["**/postcss.config.js","**/postcssrc.js","**/postcss.config.cjs","**/postcssrc.cjs"];case"scss":return["**/*.scss"];case"storybook":return["**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)","**/*.story.@(ts|tsx|js|jsx|mjs|cjs)"];case"svg":return["**/*.svg"];case"toml":return["**/*.toml"];case"ts":return[...r,...e,...n];case"vitest":return["**/__tests__/**/*.?(c|m)[jt]s?(x)","**/?(*.){test,spec}.?(c|m)[jt]s?(x)"];case"xml":return["**/*.xml"];case"yaml":return["**/*.yaml","**/*.yml"];default:throw new Error(`Unknown file type: ${s}`)}},"getFilesGlobs"),w=m((s,t)=>async j=>await t(j,l(s)),"createConfig");export{w as createConfig,l as getFilesGlobs};
@@ -0,0 +1 @@
1
+ "use strict";var d=Object.defineProperty;var c=(s,e)=>d(s,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var l=Object.defineProperty,m=c((s,e)=>l(s,"name",{value:e,configurable:!0}),"e");const t=["**/*.d.ts","**/*.d.cts","**/*.d.mts"],r=["**/*.ts","**/*.cts","**/*.mts"],n=["**/*.tsx","**/*.mtsx","**/*.ctsx"],a=["**/*.js","**/*.mjs","**/*.cjs"],o=["**/*.jsx","**/*.mjsx","**/*.cjsx"],u=m(s=>{switch(s){case"all":return[...a,...t,...r,...n,...o];case"astro":return["**/*.astro"];case"astro_ts":return["**/*.astro/*.ts"];case"css":return["**/*.css"];case"d.ts":return t;case"e2e":return["**/e2e/**/*.test.{js,ts,jsx,tsx}"];case"graphql":return["**/*.{g,graph}ql"];case"html":return["**/*.erb","**/*.handlebars","**/*.hbs","**/*.htm","**/*.html","**/*.mustache","**/*.nunjucks","**/*.php","**/*.tag","**/*.twig","**/*.we"];case"js":return a;case"js_and_ts":return[...a,...r];case"jsx_and_tsx":return[...o,...n];case"less":return["**/*.less"];case"markdown":return["**/*.{md,mkdn,mdown,markdown}"];case"markdown_in_markdown":return["**/*.{md,mkdn,mdown,markdown}/*.{md,mkdn,mdown,markdown}"];case"markdown_inline_js_jsx":return["**/*.{md,mkdn,mdown,markdown}/*.{js,javascript,jsx,node,json}"];case"postcss":return["**/postcss.config.js","**/postcssrc.js","**/postcss.config.cjs","**/postcssrc.cjs"];case"scss":return["**/*.scss"];case"storybook":return["**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)","**/*.story.@(ts|tsx|js|jsx|mjs|cjs)"];case"svg":return["**/*.svg"];case"toml":return["**/*.toml"];case"ts":return[...r,...t,...n];case"vitest":return["**/__tests__/**/*.?(c|m)[jt]s?(x)","**/?(*.){test,spec}.?(c|m)[jt]s?(x)"];case"xml":return["**/*.xml"];case"yaml":return["**/*.yaml","**/*.yml"];default:throw new Error(`Unknown file type: ${s}`)}},"getFilesGlobs"),i=m((s,e)=>async j=>await e(j,u(s)),"createConfig");exports.createConfig=i;exports.getFilesGlobs=u;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "16.0.0",
3
+ "version": "16.1.0",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -158,22 +158,25 @@
158
158
  "@eslint-react/eslint-plugin": "^1.22.1",
159
159
  "@tanstack/eslint-plugin-query": "^5.0.0",
160
160
  "@tanstack/eslint-plugin-router": "^1.92.7",
161
- "@unocss/eslint-plugin": "^0.65.3",
161
+ "@unocss/eslint-plugin": "^66.1.2",
162
162
  "astro-eslint-parser": "^1.1.0",
163
- "eslint": "^9.10.0",
163
+ "eslint": ">=9.5.0",
164
164
  "eslint-plugin-astro": "^1.3.1",
165
165
  "eslint-plugin-format": ">=0.1.0",
166
166
  "eslint-plugin-jsx-a11y": "^6.7.1",
167
167
  "eslint-plugin-playwright": "^0.16.0 || ^0.18.0",
168
- "eslint-plugin-react": "^7.37.3",
169
- "eslint-plugin-react-hooks": "^4.6.0",
170
- "eslint-plugin-react-refresh": "^0.4.16",
171
- "eslint-plugin-storybook": "^0.6.14",
172
- "eslint-plugin-tailwindcss": "^3.13.0",
173
- "eslint-plugin-testing-library": "^6.0.1",
174
- "eslint-plugin-tsdoc": "^0.2.17",
168
+ "eslint-plugin-react": "^7.37.5",
169
+ "eslint-plugin-react-compiler": "^19.1.0-rc.2",
170
+ "eslint-plugin-react-you-might-not-need-an-effect": "^0.0.33",
171
+ "eslint-plugin-react-hooks": "^5.2.0",
172
+ "eslint-plugin-react-perf": "^3.3.3",
173
+ "eslint-plugin-react-refresh": "^0.4.20",
174
+ "eslint-plugin-storybook": "^0.12.0",
175
+ "eslint-plugin-tailwindcss": "^3.18.0",
176
+ "eslint-plugin-testing-library": "^7.2.2",
177
+ "eslint-plugin-tsdoc": "^0.4.0",
175
178
  "eslint-plugin-validate-jsx-nesting": "^0.1.1",
176
- "eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
179
+ "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
177
180
  "eslint-plugin-zod": "^1.4.0"
178
181
  },
179
182
  "peerDependenciesMeta": {