@gooddata/eslint-config 11.31.0-alpha.0 → 11.31.0-alpha.2

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.
Files changed (38) hide show
  1. package/PACKAGES_V9_OXLINT.md +14 -16
  2. package/dist/base.js +0 -35
  3. package/dist/base.json +0 -35
  4. package/dist/browser-esm.js +0 -35
  5. package/dist/browser-esm.json +0 -35
  6. package/dist/esm-playwright.js +0 -35
  7. package/dist/esm-playwright.json +0 -35
  8. package/dist/esm-react-playwright.js +0 -35
  9. package/dist/esm-react-playwright.json +0 -35
  10. package/dist/esm-react-vitest-storybook.js +0 -35
  11. package/dist/esm-react-vitest-storybook.json +0 -35
  12. package/dist/esm-react-vitest.js +0 -35
  13. package/dist/esm-react-vitest.json +0 -35
  14. package/dist/esm-react.js +0 -35
  15. package/dist/esm-react.json +0 -35
  16. package/dist/esm-vitest.js +0 -35
  17. package/dist/esm-vitest.json +0 -35
  18. package/dist/esm.js +0 -35
  19. package/dist/esm.json +0 -35
  20. package/dist/oxlint-base.js +2 -90
  21. package/dist/oxlint-browser-esm.js +2 -90
  22. package/dist/oxlint-esm-playwright.js +2 -90
  23. package/dist/oxlint-esm-react-playwright.js +6 -94
  24. package/dist/oxlint-esm-react-vitest-storybook.js +8 -96
  25. package/dist/oxlint-esm-react-vitest.js +6 -94
  26. package/dist/oxlint-esm-react.js +6 -94
  27. package/dist/oxlint-esm-vitest.js +2 -90
  28. package/dist/oxlint-esm.js +2 -90
  29. package/dist/oxlint-react-playwright.js +6 -94
  30. package/dist/oxlint-react-vitest.js +6 -94
  31. package/dist/oxlint-react.js +6 -94
  32. package/dist/react-playwright.js +0 -35
  33. package/dist/react-playwright.json +0 -35
  34. package/dist/react-vitest.js +0 -35
  35. package/dist/react-vitest.json +0 -35
  36. package/dist/react.js +0 -35
  37. package/dist/react.json +0 -35
  38. package/package.json +5 -7
@@ -3,11 +3,10 @@
3
3
  import globals from "globals";
4
4
  import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-import-x";
7
- import plugin0004 from "eslint-plugin-jsdoc";
8
- import plugin0005 from "eslint-plugin-react";
9
- import plugin0006 from "eslint-plugin-react-hooks";
10
- import plugin0007 from "eslint-plugin-storybook";
6
+ import plugin0003 from "eslint-plugin-jsdoc";
7
+ import plugin0004 from "eslint-plugin-react";
8
+ import plugin0005 from "eslint-plugin-react-hooks";
9
+ import plugin0006 from "eslint-plugin-storybook";
11
10
 
12
11
  export default [
13
12
  {
@@ -1208,99 +1207,12 @@ export default [
1208
1207
  ],
1209
1208
  },
1210
1209
  },
1211
- {
1212
- plugins: {
1213
- "import-x": plugin0003,
1214
- },
1215
- settings: {
1216
- "import-x/extensions": [
1217
- ".js",
1218
- ".jsx",
1219
- ".mjs",
1220
- ".cjs",
1221
- ],
1222
- },
1223
- rules: {
1224
- "import-x/order": [
1225
- "error",
1226
- {
1227
- pathGroups: [
1228
- {
1229
- pattern: "react",
1230
- group: "external",
1231
- position: "before",
1232
- },
1233
- {
1234
- pattern: "{@gooddata/**,gdc-*}",
1235
- group: "external",
1236
- position: "after",
1237
- },
1238
- ],
1239
- groups: [
1240
- "builtin",
1241
- "external",
1242
- "internal",
1243
- [
1244
- "parent",
1245
- "sibling",
1246
- "index",
1247
- ],
1248
- ],
1249
- pathGroupsExcludedImportTypes: [
1250
- "react",
1251
- ],
1252
- alphabetize: {
1253
- order: "asc",
1254
- caseInsensitive: true,
1255
- },
1256
- "newlines-between": "always",
1257
- },
1258
- ],
1259
- },
1260
- },
1261
- {
1262
- files: [
1263
- "**/*.ts",
1264
- "**/*.cts",
1265
- "**/*.mts",
1266
- "**/*.tsx",
1267
- ],
1268
- settings: {
1269
- "import-x/extensions": [
1270
- ".ts",
1271
- ".cts",
1272
- ".mts",
1273
- ".tsx",
1274
- ".js",
1275
- ".jsx",
1276
- ".mjs",
1277
- ".cjs",
1278
- ],
1279
- "import-x/external-module-folders": [
1280
- "node_modules",
1281
- "node_modules/@types",
1282
- ],
1283
- "import-x/parsers": {
1284
- "@typescript-eslint/parser": [
1285
- ".ts",
1286
- ".cts",
1287
- ".mts",
1288
- ".tsx",
1289
- ],
1290
- },
1291
- "import-x/resolver": {
1292
- typescript: {
1293
- alwaysTryTypes: true,
1294
- },
1295
- },
1296
- },
1297
- },
1298
1210
  {
1299
1211
  files: [
1300
1212
  "**/*.{js,cjs,mjs,jsx}",
1301
1213
  ],
1302
1214
  plugins: {
1303
- jsdoc: plugin0004,
1215
+ jsdoc: plugin0003,
1304
1216
  },
1305
1217
  settings: {
1306
1218
  jsdoc: {
@@ -1382,7 +1294,7 @@ export default [
1382
1294
  },
1383
1295
  {
1384
1296
  plugins: {
1385
- react: plugin0005,
1297
+ react: plugin0004,
1386
1298
  },
1387
1299
  settings: {
1388
1300
  react: {
@@ -1417,7 +1329,7 @@ export default [
1417
1329
  },
1418
1330
  {
1419
1331
  plugins: {
1420
- "react-hooks": plugin0006,
1332
+ "react-hooks": plugin0005,
1421
1333
  },
1422
1334
  rules: {
1423
1335
  "react-hooks/rules-of-hooks": "error",
@@ -1426,7 +1338,7 @@ export default [
1426
1338
  },
1427
1339
  {
1428
1340
  plugins: {
1429
- storybook: plugin0007,
1341
+ storybook: plugin0006,
1430
1342
  },
1431
1343
  },
1432
1344
  {
@@ -3,10 +3,9 @@
3
3
  import globals from "globals";
4
4
  import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-import-x";
7
- import plugin0004 from "eslint-plugin-jsdoc";
8
- import plugin0005 from "eslint-plugin-react";
9
- import plugin0006 from "eslint-plugin-react-hooks";
6
+ import plugin0003 from "eslint-plugin-jsdoc";
7
+ import plugin0004 from "eslint-plugin-react";
8
+ import plugin0005 from "eslint-plugin-react-hooks";
10
9
 
11
10
  export default [
12
11
  {
@@ -1207,99 +1206,12 @@ export default [
1207
1206
  ],
1208
1207
  },
1209
1208
  },
1210
- {
1211
- plugins: {
1212
- "import-x": plugin0003,
1213
- },
1214
- settings: {
1215
- "import-x/extensions": [
1216
- ".js",
1217
- ".jsx",
1218
- ".mjs",
1219
- ".cjs",
1220
- ],
1221
- },
1222
- rules: {
1223
- "import-x/order": [
1224
- "error",
1225
- {
1226
- pathGroups: [
1227
- {
1228
- pattern: "react",
1229
- group: "external",
1230
- position: "before",
1231
- },
1232
- {
1233
- pattern: "{@gooddata/**,gdc-*}",
1234
- group: "external",
1235
- position: "after",
1236
- },
1237
- ],
1238
- groups: [
1239
- "builtin",
1240
- "external",
1241
- "internal",
1242
- [
1243
- "parent",
1244
- "sibling",
1245
- "index",
1246
- ],
1247
- ],
1248
- pathGroupsExcludedImportTypes: [
1249
- "react",
1250
- ],
1251
- alphabetize: {
1252
- order: "asc",
1253
- caseInsensitive: true,
1254
- },
1255
- "newlines-between": "always",
1256
- },
1257
- ],
1258
- },
1259
- },
1260
- {
1261
- files: [
1262
- "**/*.ts",
1263
- "**/*.cts",
1264
- "**/*.mts",
1265
- "**/*.tsx",
1266
- ],
1267
- settings: {
1268
- "import-x/extensions": [
1269
- ".ts",
1270
- ".cts",
1271
- ".mts",
1272
- ".tsx",
1273
- ".js",
1274
- ".jsx",
1275
- ".mjs",
1276
- ".cjs",
1277
- ],
1278
- "import-x/external-module-folders": [
1279
- "node_modules",
1280
- "node_modules/@types",
1281
- ],
1282
- "import-x/parsers": {
1283
- "@typescript-eslint/parser": [
1284
- ".ts",
1285
- ".cts",
1286
- ".mts",
1287
- ".tsx",
1288
- ],
1289
- },
1290
- "import-x/resolver": {
1291
- typescript: {
1292
- alwaysTryTypes: true,
1293
- },
1294
- },
1295
- },
1296
- },
1297
1209
  {
1298
1210
  files: [
1299
1211
  "**/*.{js,cjs,mjs,jsx}",
1300
1212
  ],
1301
1213
  plugins: {
1302
- jsdoc: plugin0004,
1214
+ jsdoc: plugin0003,
1303
1215
  },
1304
1216
  settings: {
1305
1217
  jsdoc: {
@@ -1381,7 +1293,7 @@ export default [
1381
1293
  },
1382
1294
  {
1383
1295
  plugins: {
1384
- react: plugin0005,
1296
+ react: plugin0004,
1385
1297
  },
1386
1298
  settings: {
1387
1299
  react: {
@@ -1416,7 +1328,7 @@ export default [
1416
1328
  },
1417
1329
  {
1418
1330
  plugins: {
1419
- "react-hooks": plugin0006,
1331
+ "react-hooks": plugin0005,
1420
1332
  },
1421
1333
  rules: {
1422
1334
  "react-hooks/rules-of-hooks": "error",
@@ -3,10 +3,9 @@
3
3
  import globals from "globals";
4
4
  import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-import-x";
7
- import plugin0004 from "eslint-plugin-jsdoc";
8
- import plugin0005 from "eslint-plugin-react";
9
- import plugin0006 from "eslint-plugin-react-hooks";
6
+ import plugin0003 from "eslint-plugin-jsdoc";
7
+ import plugin0004 from "eslint-plugin-react";
8
+ import plugin0005 from "eslint-plugin-react-hooks";
10
9
 
11
10
  export default [
12
11
  {
@@ -1207,99 +1206,12 @@ export default [
1207
1206
  ],
1208
1207
  },
1209
1208
  },
1210
- {
1211
- plugins: {
1212
- "import-x": plugin0003,
1213
- },
1214
- settings: {
1215
- "import-x/extensions": [
1216
- ".js",
1217
- ".jsx",
1218
- ".mjs",
1219
- ".cjs",
1220
- ],
1221
- },
1222
- rules: {
1223
- "import-x/order": [
1224
- "error",
1225
- {
1226
- pathGroups: [
1227
- {
1228
- pattern: "react",
1229
- group: "external",
1230
- position: "before",
1231
- },
1232
- {
1233
- pattern: "{@gooddata/**,gdc-*}",
1234
- group: "external",
1235
- position: "after",
1236
- },
1237
- ],
1238
- groups: [
1239
- "builtin",
1240
- "external",
1241
- "internal",
1242
- [
1243
- "parent",
1244
- "sibling",
1245
- "index",
1246
- ],
1247
- ],
1248
- pathGroupsExcludedImportTypes: [
1249
- "react",
1250
- ],
1251
- alphabetize: {
1252
- order: "asc",
1253
- caseInsensitive: true,
1254
- },
1255
- "newlines-between": "always",
1256
- },
1257
- ],
1258
- },
1259
- },
1260
- {
1261
- files: [
1262
- "**/*.ts",
1263
- "**/*.cts",
1264
- "**/*.mts",
1265
- "**/*.tsx",
1266
- ],
1267
- settings: {
1268
- "import-x/extensions": [
1269
- ".ts",
1270
- ".cts",
1271
- ".mts",
1272
- ".tsx",
1273
- ".js",
1274
- ".jsx",
1275
- ".mjs",
1276
- ".cjs",
1277
- ],
1278
- "import-x/external-module-folders": [
1279
- "node_modules",
1280
- "node_modules/@types",
1281
- ],
1282
- "import-x/parsers": {
1283
- "@typescript-eslint/parser": [
1284
- ".ts",
1285
- ".cts",
1286
- ".mts",
1287
- ".tsx",
1288
- ],
1289
- },
1290
- "import-x/resolver": {
1291
- typescript: {
1292
- alwaysTryTypes: true,
1293
- },
1294
- },
1295
- },
1296
- },
1297
1209
  {
1298
1210
  files: [
1299
1211
  "**/*.{js,cjs,mjs,jsx}",
1300
1212
  ],
1301
1213
  plugins: {
1302
- jsdoc: plugin0004,
1214
+ jsdoc: plugin0003,
1303
1215
  },
1304
1216
  settings: {
1305
1217
  jsdoc: {
@@ -1381,7 +1293,7 @@ export default [
1381
1293
  },
1382
1294
  {
1383
1295
  plugins: {
1384
- react: plugin0005,
1296
+ react: plugin0004,
1385
1297
  },
1386
1298
  settings: {
1387
1299
  react: {
@@ -1416,7 +1328,7 @@ export default [
1416
1328
  },
1417
1329
  {
1418
1330
  plugins: {
1419
- "react-hooks": plugin0006,
1331
+ "react-hooks": plugin0005,
1420
1332
  },
1421
1333
  rules: {
1422
1334
  "react-hooks/rules-of-hooks": "error",
@@ -3,8 +3,7 @@
3
3
  import globals from "globals";
4
4
  import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-import-x";
7
- import plugin0004 from "eslint-plugin-jsdoc";
6
+ import plugin0003 from "eslint-plugin-jsdoc";
8
7
 
9
8
  export default [
10
9
  {
@@ -1205,99 +1204,12 @@ export default [
1205
1204
  ],
1206
1205
  },
1207
1206
  },
1208
- {
1209
- plugins: {
1210
- "import-x": plugin0003,
1211
- },
1212
- settings: {
1213
- "import-x/extensions": [
1214
- ".js",
1215
- ".jsx",
1216
- ".mjs",
1217
- ".cjs",
1218
- ],
1219
- },
1220
- rules: {
1221
- "import-x/order": [
1222
- "error",
1223
- {
1224
- pathGroups: [
1225
- {
1226
- pattern: "react",
1227
- group: "external",
1228
- position: "before",
1229
- },
1230
- {
1231
- pattern: "{@gooddata/**,gdc-*}",
1232
- group: "external",
1233
- position: "after",
1234
- },
1235
- ],
1236
- groups: [
1237
- "builtin",
1238
- "external",
1239
- "internal",
1240
- [
1241
- "parent",
1242
- "sibling",
1243
- "index",
1244
- ],
1245
- ],
1246
- pathGroupsExcludedImportTypes: [
1247
- "react",
1248
- ],
1249
- alphabetize: {
1250
- order: "asc",
1251
- caseInsensitive: true,
1252
- },
1253
- "newlines-between": "always",
1254
- },
1255
- ],
1256
- },
1257
- },
1258
- {
1259
- files: [
1260
- "**/*.ts",
1261
- "**/*.cts",
1262
- "**/*.mts",
1263
- "**/*.tsx",
1264
- ],
1265
- settings: {
1266
- "import-x/extensions": [
1267
- ".ts",
1268
- ".cts",
1269
- ".mts",
1270
- ".tsx",
1271
- ".js",
1272
- ".jsx",
1273
- ".mjs",
1274
- ".cjs",
1275
- ],
1276
- "import-x/external-module-folders": [
1277
- "node_modules",
1278
- "node_modules/@types",
1279
- ],
1280
- "import-x/parsers": {
1281
- "@typescript-eslint/parser": [
1282
- ".ts",
1283
- ".cts",
1284
- ".mts",
1285
- ".tsx",
1286
- ],
1287
- },
1288
- "import-x/resolver": {
1289
- typescript: {
1290
- alwaysTryTypes: true,
1291
- },
1292
- },
1293
- },
1294
- },
1295
1207
  {
1296
1208
  files: [
1297
1209
  "**/*.{js,cjs,mjs,jsx}",
1298
1210
  ],
1299
1211
  plugins: {
1300
- jsdoc: plugin0004,
1212
+ jsdoc: plugin0003,
1301
1213
  },
1302
1214
  settings: {
1303
1215
  jsdoc: {
@@ -3,8 +3,7 @@
3
3
  import globals from "globals";
4
4
  import plugin0001 from "@typescript-eslint/eslint-plugin";
5
5
  import plugin0002 from "@typescript-eslint/parser";
6
- import plugin0003 from "eslint-plugin-import-x";
7
- import plugin0004 from "eslint-plugin-jsdoc";
6
+ import plugin0003 from "eslint-plugin-jsdoc";
8
7
 
9
8
  export default [
10
9
  {
@@ -1205,99 +1204,12 @@ export default [
1205
1204
  ],
1206
1205
  },
1207
1206
  },
1208
- {
1209
- plugins: {
1210
- "import-x": plugin0003,
1211
- },
1212
- settings: {
1213
- "import-x/extensions": [
1214
- ".js",
1215
- ".jsx",
1216
- ".mjs",
1217
- ".cjs",
1218
- ],
1219
- },
1220
- rules: {
1221
- "import-x/order": [
1222
- "error",
1223
- {
1224
- pathGroups: [
1225
- {
1226
- pattern: "react",
1227
- group: "external",
1228
- position: "before",
1229
- },
1230
- {
1231
- pattern: "{@gooddata/**,gdc-*}",
1232
- group: "external",
1233
- position: "after",
1234
- },
1235
- ],
1236
- groups: [
1237
- "builtin",
1238
- "external",
1239
- "internal",
1240
- [
1241
- "parent",
1242
- "sibling",
1243
- "index",
1244
- ],
1245
- ],
1246
- pathGroupsExcludedImportTypes: [
1247
- "react",
1248
- ],
1249
- alphabetize: {
1250
- order: "asc",
1251
- caseInsensitive: true,
1252
- },
1253
- "newlines-between": "always",
1254
- },
1255
- ],
1256
- },
1257
- },
1258
- {
1259
- files: [
1260
- "**/*.ts",
1261
- "**/*.cts",
1262
- "**/*.mts",
1263
- "**/*.tsx",
1264
- ],
1265
- settings: {
1266
- "import-x/extensions": [
1267
- ".ts",
1268
- ".cts",
1269
- ".mts",
1270
- ".tsx",
1271
- ".js",
1272
- ".jsx",
1273
- ".mjs",
1274
- ".cjs",
1275
- ],
1276
- "import-x/external-module-folders": [
1277
- "node_modules",
1278
- "node_modules/@types",
1279
- ],
1280
- "import-x/parsers": {
1281
- "@typescript-eslint/parser": [
1282
- ".ts",
1283
- ".cts",
1284
- ".mts",
1285
- ".tsx",
1286
- ],
1287
- },
1288
- "import-x/resolver": {
1289
- typescript: {
1290
- alwaysTryTypes: true,
1291
- },
1292
- },
1293
- },
1294
- },
1295
1207
  {
1296
1208
  files: [
1297
1209
  "**/*.{js,cjs,mjs,jsx}",
1298
1210
  ],
1299
1211
  plugins: {
1300
- jsdoc: plugin0004,
1212
+ jsdoc: plugin0003,
1301
1213
  },
1302
1214
  settings: {
1303
1215
  jsdoc: {