@xylabs/eslint-config-react-flat 3.15.3 → 3.15.5

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.
@@ -55,13 +55,13 @@ var reactConfig = {
55
55
  },
56
56
  rules: {
57
57
  ...import_eslint_plugin_react.default.configs.flat.recommended.rules,
58
- /*'react-hooks/rules-of-hooks': 'error',
58
+ /* 'react-hooks/rules-of-hooks': 'error',
59
59
  'react-hooks/exhaustive-deps': [
60
60
  'warn',
61
61
  {
62
62
  additionalHooks: '(useAsyncEffect|usePromise)',
63
63
  },
64
- ],*/
64
+ ], */
65
65
  "react/prop-types": [
66
66
  "off"
67
67
  ],
@@ -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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n//import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n //'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /*'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],*/\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACCnC,iCAAwB;AAExB,qBAAoB;AAEb,IAAMA,cAAiC;EAC5CC,SAAS;IACPC,OAAOC,2BAAAA;EAET;EACAC,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGF,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYH;IACxCI,SAAS;MACP,GAAGA,eAAAA,QAAQC;MACX,GAAGD,eAAAA,QAAQE;IACb;EACF;EACAC,OAAO;IACL,GAAGT,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYI;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGV,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYK;IACxCX,OAAO;MACLY,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","plugins","react","reactPlugin","files","languageOptions","configs","flat","recommended","globals","serviceworker","browser","rules","settings","version","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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n// import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n // 'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /* 'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ], */\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACCnC,iCAAwB;AAExB,qBAAoB;AAEb,IAAMA,cAAiC;EAC5CC,SAAS;IACPC,OAAOC,2BAAAA;EAET;EACAC,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGF,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYH;IACxCI,SAAS;MACP,GAAGA,eAAAA,QAAQC;MACX,GAAGD,eAAAA,QAAQE;IACb;EACF;EACAC,OAAO;IACL,GAAGT,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYI;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGV,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYK;IACxCX,OAAO;MACLY,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","plugins","react","reactPlugin","files","languageOptions","configs","flat","recommended","globals","serviceworker","browser","rules","settings","version","config","xyConfig","reactConfig"]}
@@ -20,13 +20,13 @@ var reactConfig = {
20
20
  },
21
21
  rules: {
22
22
  ...reactPlugin.configs.flat.recommended.rules,
23
- /*'react-hooks/rules-of-hooks': 'error',
23
+ /* 'react-hooks/rules-of-hooks': 'error',
24
24
  'react-hooks/exhaustive-deps': [
25
25
  'warn',
26
26
  {
27
27
  additionalHooks: '(useAsyncEffect|usePromise)',
28
28
  },
29
- ],*/
29
+ ], */
30
30
  "react/prop-types": [
31
31
  "off"
32
32
  ],
@@ -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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n//import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n //'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /*'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],*/\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACCnC,OAAOC,iBAAiB;AAExB,OAAOC,aAAa;AAEb,IAAMC,cAAiC;EAC5CC,SAAS;IACPC,OAAOJ;EAET;EACAK,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGN,YAAYO,QAAQC,KAAKC,YAAYH;IACxCL,SAAS;MACP,GAAGA,QAAQS;MACX,GAAGT,QAAQU;IACb;EACF;EACAC,OAAO;IACL,GAAGZ,YAAYO,QAAQC,KAAKC,YAAYG;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGb,YAAYO,QAAQC,KAAKC,YAAYI;IACxCT,OAAO;MACLU,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC;EAAUC;;","names":["config","xyConfig","reactPlugin","globals","reactConfig","plugins","react","files","languageOptions","configs","flat","recommended","serviceworker","browser","rules","settings","version","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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n// import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n // 'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /* 'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ], */\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACCnC,OAAOC,iBAAiB;AAExB,OAAOC,aAAa;AAEb,IAAMC,cAAiC;EAC5CC,SAAS;IACPC,OAAOJ;EAET;EACAK,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGN,YAAYO,QAAQC,KAAKC,YAAYH;IACxCL,SAAS;MACP,GAAGA,QAAQS;MACX,GAAGT,QAAQU;IACb;EACF;EACAC,OAAO;IACL,GAAGZ,YAAYO,QAAQC,KAAKC,YAAYG;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGb,YAAYO,QAAQC,KAAKC,YAAYI;IACxCT,OAAO;MACLU,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC;EAAUC;;","names":["config","xyConfig","reactPlugin","globals","reactConfig","plugins","react","files","languageOptions","configs","flat","recommended","serviceworker","browser","rules","settings","version","config","xyConfig","reactConfig"]}
@@ -55,13 +55,13 @@ var reactConfig = {
55
55
  },
56
56
  rules: {
57
57
  ...import_eslint_plugin_react.default.configs.flat.recommended.rules,
58
- /*'react-hooks/rules-of-hooks': 'error',
58
+ /* 'react-hooks/rules-of-hooks': 'error',
59
59
  'react-hooks/exhaustive-deps': [
60
60
  'warn',
61
61
  {
62
62
  additionalHooks: '(useAsyncEffect|usePromise)',
63
63
  },
64
- ],*/
64
+ ], */
65
65
  "react/prop-types": [
66
66
  "off"
67
67
  ],
@@ -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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n//import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n //'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /*'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],*/\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACCnC,iCAAwB;AAExB,qBAAoB;AAEb,IAAMA,cAAiC;EAC5CC,SAAS;IACPC,OAAOC,2BAAAA;EAET;EACAC,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGF,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYH;IACxCI,SAAS;MACP,GAAGA,eAAAA,QAAQC;MACX,GAAGD,eAAAA,QAAQE;IACb;EACF;EACAC,OAAO;IACL,GAAGT,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYI;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGV,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYK;IACxCX,OAAO;MACLY,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","plugins","react","reactPlugin","files","languageOptions","configs","flat","recommended","globals","serviceworker","browser","rules","settings","version","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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n// import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n // 'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /* 'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ], */\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;gCAAmC;;;ACCnC,iCAAwB;AAExB,qBAAoB;AAEb,IAAMA,cAAiC;EAC5CC,SAAS;IACPC,OAAOC,2BAAAA;EAET;EACAC,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGF,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYH;IACxCI,SAAS;MACP,GAAGA,eAAAA,QAAQC;MACX,GAAGD,eAAAA,QAAQE;IACb;EACF;EACAC,OAAO;IACL,GAAGT,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYI;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGV,2BAAAA,QAAYG,QAAQC,KAAKC,YAAYK;IACxCX,OAAO;MACLY,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC,0BAAAA;EAAUC;;","names":["reactConfig","plugins","react","reactPlugin","files","languageOptions","configs","flat","recommended","globals","serviceworker","browser","rules","settings","version","config","xyConfig","reactConfig"]}
@@ -20,13 +20,13 @@ var reactConfig = {
20
20
  },
21
21
  rules: {
22
22
  ...reactPlugin.configs.flat.recommended.rules,
23
- /*'react-hooks/rules-of-hooks': 'error',
23
+ /* 'react-hooks/rules-of-hooks': 'error',
24
24
  'react-hooks/exhaustive-deps': [
25
25
  'warn',
26
26
  {
27
27
  additionalHooks: '(useAsyncEffect|usePromise)',
28
28
  },
29
- ],*/
29
+ ], */
30
30
  "react/prop-types": [
31
31
  "off"
32
32
  ],
@@ -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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n//import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n //'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /*'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ],*/\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACCnC,OAAOC,iBAAiB;AAExB,OAAOC,aAAa;AAEb,IAAMC,cAAiC;EAC5CC,SAAS;IACPC,OAAOJ;EAET;EACAK,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGN,YAAYO,QAAQC,KAAKC,YAAYH;IACxCL,SAAS;MACP,GAAGA,QAAQS;MACX,GAAGT,QAAQU;IACb;EACF;EACAC,OAAO;IACL,GAAGZ,YAAYO,QAAQC,KAAKC,YAAYG;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGb,YAAYO,QAAQC,KAAKC,YAAYI;IACxCT,OAAO;MACLU,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC;EAAUC;;","names":["config","xyConfig","reactPlugin","globals","reactConfig","plugins","react","files","languageOptions","configs","flat","recommended","serviceworker","browser","rules","settings","version","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.FlatConfig[] = [...xyConfig, reactConfig]\n\nexport { reactConfig } from './react/index.ts'\n","import { Linter } from 'eslint'\nimport reactPlugin from 'eslint-plugin-react'\n// import reactHooksPlugin from 'eslint-plugin-react-hooks'\nimport globals from 'globals'\n\nexport const reactConfig: Linter.FlatConfig = {\n plugins: {\n react: reactPlugin,\n // 'react-hooks': reactHooksPlugin,\n },\n files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],\n languageOptions: {\n ...reactPlugin.configs.flat.recommended.languageOptions,\n globals: {\n ...globals.serviceworker,\n ...globals.browser,\n },\n },\n rules: {\n ...reactPlugin.configs.flat.recommended.rules,\n /* 'react-hooks/rules-of-hooks': 'error',\n 'react-hooks/exhaustive-deps': [\n 'warn',\n {\n additionalHooks: '(useAsyncEffect|usePromise)',\n },\n ], */\n 'react/prop-types': ['off'],\n 'react/react-in-jsx-scope': ['warn'],\n },\n settings: {\n ...reactPlugin.configs.flat.recommended.settings,\n react: {\n version: 'detect',\n },\n },\n}\n"],"mappings":";AAAA,SAASA,UAAUC,gBAAgB;;;ACCnC,OAAOC,iBAAiB;AAExB,OAAOC,aAAa;AAEb,IAAMC,cAAiC;EAC5CC,SAAS;IACPC,OAAOJ;EAET;EACAK,OAAO;IAAC;;EACRC,iBAAiB;IACf,GAAGN,YAAYO,QAAQC,KAAKC,YAAYH;IACxCL,SAAS;MACP,GAAGA,QAAQS;MACX,GAAGT,QAAQU;IACb;EACF;EACAC,OAAO;IACL,GAAGZ,YAAYO,QAAQC,KAAKC,YAAYG;;;;;;;;IAQxC,oBAAoB;MAAC;;IACrB,4BAA4B;MAAC;;EAC/B;EACAC,UAAU;IACR,GAAGb,YAAYO,QAAQC,KAAKC,YAAYI;IACxCT,OAAO;MACLU,SAAS;IACX;EACF;AACF;;;AD/BO,IAAMC,SAA8B;KAAIC;EAAUC;;","names":["config","xyConfig","reactPlugin","globals","reactConfig","plugins","react","files","languageOptions","configs","flat","recommended","serviceworker","browser","rules","settings","version","config","xyConfig","reactConfig"]}
package/package.json CHANGED
@@ -10,15 +10,15 @@
10
10
  "url": "https://github.com/xylabs/eslint-config/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/eslint-config-flat": "^3.15.3",
13
+ "@xylabs/eslint-config-flat": "^3.15.5",
14
14
  "eslint-plugin-react": "^7.35.0",
15
15
  "eslint-plugin-react-hooks": "^4.6.2",
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.3",
21
- "@xylabs/tsconfig": "^3.15.3",
20
+ "@xylabs/ts-scripts-yarn3": "^3.15.5",
21
+ "@xylabs/tsconfig": "^3.15.5",
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.3",
65
+ "version": "3.15.5",
66
66
  "type": "module"
67
67
  }
@@ -1,12 +1,12 @@
1
1
  import { Linter } from 'eslint'
2
2
  import reactPlugin from 'eslint-plugin-react'
3
- //import reactHooksPlugin from 'eslint-plugin-react-hooks'
3
+ // import reactHooksPlugin from 'eslint-plugin-react-hooks'
4
4
  import globals from 'globals'
5
5
 
6
6
  export const reactConfig: Linter.FlatConfig = {
7
7
  plugins: {
8
8
  react: reactPlugin,
9
- //'react-hooks': reactHooksPlugin,
9
+ // 'react-hooks': reactHooksPlugin,
10
10
  },
11
11
  files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
12
12
  languageOptions: {
@@ -18,13 +18,13 @@ export const reactConfig: Linter.FlatConfig = {
18
18
  },
19
19
  rules: {
20
20
  ...reactPlugin.configs.flat.recommended.rules,
21
- /*'react-hooks/rules-of-hooks': 'error',
21
+ /* 'react-hooks/rules-of-hooks': 'error',
22
22
  'react-hooks/exhaustive-deps': [
23
23
  'warn',
24
24
  {
25
25
  additionalHooks: '(useAsyncEffect|usePromise)',
26
26
  },
27
- ],*/
27
+ ], */
28
28
  'react/prop-types': ['off'],
29
29
  'react/react-in-jsx-scope': ['warn'],
30
30
  },