@anolilab/eslint-config 16.0.1 → 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.1",
3
+ "version": "16.1.0",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -166,7 +166,10 @@
166
166
  "eslint-plugin-jsx-a11y": "^6.7.1",
167
167
  "eslint-plugin-playwright": "^0.16.0 || ^0.18.0",
168
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",
169
171
  "eslint-plugin-react-hooks": "^5.2.0",
172
+ "eslint-plugin-react-perf": "^3.3.3",
170
173
  "eslint-plugin-react-refresh": "^0.4.20",
171
174
  "eslint-plugin-storybook": "^0.12.0",
172
175
  "eslint-plugin-tailwindcss": "^3.18.0",