@xylabs/eslint-config-react-flat 3.15.15 → 3.15.16

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.
@@ -69,12 +69,6 @@ var reactConfig = {
69
69
  rules: {
70
70
  ...import_eslint_plugin.default.configs.recommended.rules,
71
71
  ...import_eslint_plugin_react.default.configs.flat.recommended.rules,
72
- "react-hooks/exhaustive-deps": [
73
- "warn",
74
- {
75
- additionalHooks: "(useAsyncEffect|usePromise)"
76
- }
77
- ],
78
72
  "react/prop-types": [
79
73
  "off"
80
74
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACAnC,2BAA8B;AAC9B,oBAAqB;AAErB,iCAAwB;AACxB,qBAAoB;AAEb,IAAMA,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGC,qBAAAA,QAAkBC,QAAQC;EAC7BC,SAAS;IACPC,OAAOC,2BAAAA;IACP,GAAGL,qBAAAA,QAAkBC,QAAQC,YAAYC;EAC3C;EACAG,UAAU;IACRF,OAAO;MACLG,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQC,cAAAA;IACRC,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAC,SAAS;MACP,GAAGA,eAAAA,QAAQC;IACb;EACF;EACAC,OAAO;IACL,GAAGhB,qBAAAA,QAAkBC,QAAQC,YAAYc;IACzC,GAAGX,2BAAAA,QAAYJ,QAAQgB,KAAKf,YAAYc;IACxC,+BAA+B;MAC7B;MACA;QACEE,iBAAiB;MACnB;;IAEF,oBAAoB;MAAC;;EACvB;AACF;;;ADnCO,IAAMC,SAA0B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","files","eslintReactPlugin","configs","recommended","plugins","react","reactPlugin","settings","version","languageOptions","parser","tsParser","parserOptions","ecmaFeatures","jsx","globals","browser","rules","flat","additionalHooks","config","xyConfig","reactConfig"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACAnC,2BAA8B;AAC9B,oBAAqB;AAErB,iCAAwB;AACxB,qBAAoB;AAEb,IAAMA,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGC,qBAAAA,QAAkBC,QAAQC;EAC7BC,SAAS;IACPC,OAAOC,2BAAAA;IACP,GAAGL,qBAAAA,QAAkBC,QAAQC,YAAYC;EAC3C;EACAG,UAAU;IACRF,OAAO;MACLG,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQC,cAAAA;IACRC,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAC,SAAS;MACP,GAAGA,eAAAA,QAAQC;IACb;EACF;EACAC,OAAO;IACL,GAAGhB,qBAAAA,QAAkBC,QAAQC,YAAYc;IACzC,GAAGX,2BAAAA,QAAYJ,QAAQgB,KAAKf,YAAYc;IACxC,oBAAoB;MAAC;;EACvB;AACF;;;AD7BO,IAAME,SAA0B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","files","eslintReactPlugin","configs","recommended","plugins","react","reactPlugin","settings","version","languageOptions","parser","tsParser","parserOptions","ecmaFeatures","jsx","globals","browser","rules","flat","config","xyConfig","reactConfig"]}
@@ -34,12 +34,6 @@ var reactConfig = {
34
34
  rules: {
35
35
  ...eslintReactPlugin.configs.recommended.rules,
36
36
  ...reactPlugin.configs.flat.recommended.rules,
37
- "react-hooks/exhaustive-deps": [
38
- "warn",
39
- {
40
- additionalHooks: "(useAsyncEffect|usePromise)"
41
- }
42
- ],
43
37
  "react/prop-types": [
44
38
  "off"
45
39
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACAnC,OAAOC,uBAAuB;AAC9B,OAAOC,cAAc;AAErB,OAAOC,iBAAiB;AACxB,OAAOC,aAAa;AAEb,IAAMC,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGL,kBAAkBM,QAAQC;EAC7BC,SAAS;IACPC,OAAOP;IACP,GAAGF,kBAAkBM,QAAQC,YAAYC;EAC3C;EACAE,UAAU;IACRD,OAAO;MACLE,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQZ;IACRa,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAb,SAAS;MACP,GAAGA,QAAQc;IACb;EACF;EACAC,OAAO;IACL,GAAGlB,kBAAkBM,QAAQC,YAAYW;IACzC,GAAGhB,YAAYI,QAAQa,KAAKZ,YAAYW;IACxC,+BAA+B;MAC7B;MACA;QACEE,iBAAiB;MACnB;;IAEF,oBAAoB;MAAC;;EACvB;AACF;;;ADnCO,IAAMC,SAA0B;KAAIC;EAAUC;;","names":["config","xyConfig","eslintReactPlugin","tsParser","reactPlugin","globals","reactConfig","files","configs","recommended","plugins","react","settings","version","languageOptions","parser","parserOptions","ecmaFeatures","jsx","browser","rules","flat","additionalHooks","config","xyConfig","reactConfig"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACAnC,OAAOC,uBAAuB;AAC9B,OAAOC,cAAc;AAErB,OAAOC,iBAAiB;AACxB,OAAOC,aAAa;AAEb,IAAMC,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGL,kBAAkBM,QAAQC;EAC7BC,SAAS;IACPC,OAAOP;IACP,GAAGF,kBAAkBM,QAAQC,YAAYC;EAC3C;EACAE,UAAU;IACRD,OAAO;MACLE,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQZ;IACRa,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAb,SAAS;MACP,GAAGA,QAAQc;IACb;EACF;EACAC,OAAO;IACL,GAAGlB,kBAAkBM,QAAQC,YAAYW;IACzC,GAAGhB,YAAYI,QAAQa,KAAKZ,YAAYW;IACxC,oBAAoB;MAAC;;EACvB;AACF;;;AD7BO,IAAME,SAA0B;KAAIC;EAAUC;;","names":["config","xyConfig","eslintReactPlugin","tsParser","reactPlugin","globals","reactConfig","files","configs","recommended","plugins","react","settings","version","languageOptions","parser","parserOptions","ecmaFeatures","jsx","browser","rules","flat","config","xyConfig","reactConfig"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
@@ -69,12 +69,6 @@ var reactConfig = {
69
69
  rules: {
70
70
  ...import_eslint_plugin.default.configs.recommended.rules,
71
71
  ...import_eslint_plugin_react.default.configs.flat.recommended.rules,
72
- "react-hooks/exhaustive-deps": [
73
- "warn",
74
- {
75
- additionalHooks: "(useAsyncEffect|usePromise)"
76
- }
77
- ],
78
72
  "react/prop-types": [
79
73
  "off"
80
74
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACAnC,2BAA8B;AAC9B,oBAAqB;AAErB,iCAAwB;AACxB,qBAAoB;AAEb,IAAMA,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGC,qBAAAA,QAAkBC,QAAQC;EAC7BC,SAAS;IACPC,OAAOC,2BAAAA;IACP,GAAGL,qBAAAA,QAAkBC,QAAQC,YAAYC;EAC3C;EACAG,UAAU;IACRF,OAAO;MACLG,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQC,cAAAA;IACRC,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAC,SAAS;MACP,GAAGA,eAAAA,QAAQC;IACb;EACF;EACAC,OAAO;IACL,GAAGhB,qBAAAA,QAAkBC,QAAQC,YAAYc;IACzC,GAAGX,2BAAAA,QAAYJ,QAAQgB,KAAKf,YAAYc;IACxC,+BAA+B;MAC7B;MACA;QACEE,iBAAiB;MACnB;;IAEF,oBAAoB;MAAC;;EACvB;AACF;;;ADnCO,IAAMC,SAA0B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","files","eslintReactPlugin","configs","recommended","plugins","react","reactPlugin","settings","version","languageOptions","parser","tsParser","parserOptions","ecmaFeatures","jsx","globals","browser","rules","flat","additionalHooks","config","xyConfig","reactConfig"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACAnC,2BAA8B;AAC9B,oBAAqB;AAErB,iCAAwB;AACxB,qBAAoB;AAEb,IAAMA,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGC,qBAAAA,QAAkBC,QAAQC;EAC7BC,SAAS;IACPC,OAAOC,2BAAAA;IACP,GAAGL,qBAAAA,QAAkBC,QAAQC,YAAYC;EAC3C;EACAG,UAAU;IACRF,OAAO;MACLG,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQC,cAAAA;IACRC,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAC,SAAS;MACP,GAAGA,eAAAA,QAAQC;IACb;EACF;EACAC,OAAO;IACL,GAAGhB,qBAAAA,QAAkBC,QAAQC,YAAYc;IACzC,GAAGX,2BAAAA,QAAYJ,QAAQgB,KAAKf,YAAYc;IACxC,oBAAoB;MAAC;;EACvB;AACF;;;AD7BO,IAAME,SAA0B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","files","eslintReactPlugin","configs","recommended","plugins","react","reactPlugin","settings","version","languageOptions","parser","tsParser","parserOptions","ecmaFeatures","jsx","globals","browser","rules","flat","config","xyConfig","reactConfig"]}
@@ -34,12 +34,6 @@ var reactConfig = {
34
34
  rules: {
35
35
  ...eslintReactPlugin.configs.recommended.rules,
36
36
  ...reactPlugin.configs.flat.recommended.rules,
37
- "react-hooks/exhaustive-deps": [
38
- "warn",
39
- {
40
- additionalHooks: "(useAsyncEffect|usePromise)"
41
- }
42
- ],
43
37
  "react/prop-types": [
44
38
  "off"
45
39
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACAnC,OAAOC,uBAAuB;AAC9B,OAAOC,cAAc;AAErB,OAAOC,iBAAiB;AACxB,OAAOC,aAAa;AAEb,IAAMC,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGL,kBAAkBM,QAAQC;EAC7BC,SAAS;IACPC,OAAOP;IACP,GAAGF,kBAAkBM,QAAQC,YAAYC;EAC3C;EACAE,UAAU;IACRD,OAAO;MACLE,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQZ;IACRa,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAb,SAAS;MACP,GAAGA,QAAQc;IACb;EACF;EACAC,OAAO;IACL,GAAGlB,kBAAkBM,QAAQC,YAAYW;IACzC,GAAGhB,YAAYI,QAAQa,KAAKZ,YAAYW;IACxC,+BAA+B;MAC7B;MACA;QACEE,iBAAiB;MACnB;;IAEF,oBAAoB;MAAC;;EACvB;AACF;;;ADnCO,IAAMC,SAA0B;KAAIC;EAAUC;;","names":["config","xyConfig","eslintReactPlugin","tsParser","reactPlugin","globals","reactConfig","files","configs","recommended","plugins","react","settings","version","languageOptions","parser","parserOptions","ecmaFeatures","jsx","browser","rules","flat","additionalHooks","config","xyConfig","reactConfig"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/react/index.ts"],"sourcesContent":["import { config as xyConfig } from '@xylabs/eslint-config-flat'\nimport { Linter } from 'eslint'\n\nimport { reactConfig } from './react/index.ts'\n\nexport const config: Linter.Config[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import eslintReactPlugin from '@eslint-react/eslint-plugin'\nimport tsParser from '@typescript-eslint/parser'\nimport { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\nimport globals from 'globals'\n\nexport const reactConfig = {\n files: ['**/*.{ts,tsx}'],\n ...eslintReactPlugin.configs.recommended,\n plugins: {\n react: reactPlugin,\n ...eslintReactPlugin.configs.recommended.plugins,\n },\n settings: {\n react: {\n version: 'detect',\n },\n },\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n globals: {\n ...globals.browser,\n },\n },\n rules: {\n ...eslintReactPlugin.configs.recommended.rules,\n ...reactPlugin.configs.flat.recommended.rules,\n 'react/prop-types': ['off'],\n },\n} as unknown as Linter.Config\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACAnC,OAAOC,uBAAuB;AAC9B,OAAOC,cAAc;AAErB,OAAOC,iBAAiB;AACxB,OAAOC,aAAa;AAEb,IAAMC,cAAc;EACzBC,OAAO;IAAC;;EACR,GAAGL,kBAAkBM,QAAQC;EAC7BC,SAAS;IACPC,OAAOP;IACP,GAAGF,kBAAkBM,QAAQC,YAAYC;EAC3C;EACAE,UAAU;IACRD,OAAO;MACLE,SAAS;IACX;EACF;EACAC,iBAAiB;IACfC,QAAQZ;IACRa,eAAe;MACbC,cAAc;QACZC,KAAK;MACP;IACF;IACAb,SAAS;MACP,GAAGA,QAAQc;IACb;EACF;EACAC,OAAO;IACL,GAAGlB,kBAAkBM,QAAQC,YAAYW;IACzC,GAAGhB,YAAYI,QAAQa,KAAKZ,YAAYW;IACxC,oBAAoB;MAAC;;EACvB;AACF;;;AD7BO,IAAME,SAA0B;KAAIC;EAAUC;;","names":["config","xyConfig","eslintReactPlugin","tsParser","reactPlugin","globals","reactConfig","files","configs","recommended","plugins","react","settings","version","languageOptions","parser","parserOptions","ecmaFeatures","jsx","browser","rules","flat","config","xyConfig","reactConfig"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EAkCR,MAAM,CAAC,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAI/B,eAAO,MAAM,WAAW,EA4BR,MAAM,CAAC,MAAM,CAAA"}
package/package.json CHANGED
@@ -11,14 +11,14 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@eslint-react/eslint-plugin": "^1.8.2",
14
- "@xylabs/eslint-config-flat": "^3.15.15",
14
+ "@xylabs/eslint-config-flat": "^3.15.16",
15
15
  "eslint-plugin-react": "^7.35.0",
16
16
  "globals": "^15.9.0"
17
17
  },
18
18
  "description": "ESLint Config used throughout XY Labs TypeScript/JavaScript libraries and react projects",
19
19
  "devDependencies": {
20
- "@xylabs/ts-scripts-yarn3": "^3.15.15",
21
- "@xylabs/tsconfig": "^3.15.15",
20
+ "@xylabs/ts-scripts-yarn3": "^3.15.16",
21
+ "@xylabs/tsconfig": "^3.15.16",
22
22
  "eslint": "^9.8.0",
23
23
  "typescript": "^5.5.4"
24
24
  },
@@ -62,6 +62,6 @@
62
62
  "url": "https://github.com/xylabs/config.git"
63
63
  },
64
64
  "sideEffects": false,
65
- "version": "3.15.15",
65
+ "version": "3.15.16",
66
66
  "type": "module"
67
67
  }
@@ -30,12 +30,6 @@ export const reactConfig = {
30
30
  rules: {
31
31
  ...eslintReactPlugin.configs.recommended.rules,
32
32
  ...reactPlugin.configs.flat.recommended.rules,
33
- 'react-hooks/exhaustive-deps': [
34
- 'warn',
35
- {
36
- additionalHooks: '(useAsyncEffect|usePromise)',
37
- },
38
- ],
39
33
  'react/prop-types': ['off'],
40
34
  },
41
35
  } as unknown as Linter.Config