eslint-plugin-nextfriday 2.0.0 → 3.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.
package/lib/index.d.cts CHANGED
@@ -914,7 +914,13 @@ declare const configs: {
914
914
  };
915
915
  rules: Record<string, string>;
916
916
  };
917
- nextjs: {
917
+ nextjs: ({
918
+ files: string[];
919
+ rules: {
920
+ "nextfriday/file-kebab-case": string;
921
+ "nextfriday/jsx-pascal-case": string;
922
+ };
923
+ } | {
918
924
  plugins: {
919
925
  nextfriday: {
920
926
  readonly meta: {
@@ -1097,8 +1103,14 @@ declare const configs: {
1097
1103
  };
1098
1104
  };
1099
1105
  rules: Record<string, string>;
1100
- };
1101
- "nextjs/recommended": {
1106
+ })[];
1107
+ "nextjs/recommended": ({
1108
+ files: string[];
1109
+ rules: {
1110
+ "nextfriday/file-kebab-case": string;
1111
+ "nextfriday/jsx-pascal-case": string;
1112
+ };
1113
+ } | {
1102
1114
  plugins: {
1103
1115
  nextfriday: {
1104
1116
  readonly meta: {
@@ -1281,34 +1293,6 @@ declare const configs: {
1281
1293
  };
1282
1294
  };
1283
1295
  rules: Record<string, string>;
1284
- };
1285
- readonly sonarjs: {
1286
- name: string;
1287
- plugins: {
1288
- sonarjs: TSESLint.FlatConfig.Plugin;
1289
- };
1290
- rules: {
1291
- [x: string]: string;
1292
- };
1293
- }[];
1294
- readonly unicorn: ({
1295
- name: string;
1296
- plugins: {
1297
- unicorn: TSESLint.FlatConfig.Plugin;
1298
- };
1299
- rules: {
1300
- "unicorn/filename-case": string;
1301
- "unicorn/prevent-abbreviations": string;
1302
- "unicorn/no-null"?: undefined;
1303
- };
1304
- files?: undefined;
1305
- } | {
1306
- name: string;
1307
- files: string[];
1308
- rules: {
1309
- "unicorn/no-null": string;
1310
- };
1311
- plugins?: undefined;
1312
1296
  })[];
1313
1297
  };
1314
1298
  declare const nextfridayPlugin: {
@@ -2053,7 +2037,13 @@ declare const nextfridayPlugin: {
2053
2037
  };
2054
2038
  rules: Record<string, string>;
2055
2039
  };
2056
- nextjs: {
2040
+ nextjs: ({
2041
+ files: string[];
2042
+ rules: {
2043
+ "nextfriday/file-kebab-case": string;
2044
+ "nextfriday/jsx-pascal-case": string;
2045
+ };
2046
+ } | {
2057
2047
  plugins: {
2058
2048
  nextfriday: {
2059
2049
  readonly meta: {
@@ -2236,8 +2226,14 @@ declare const nextfridayPlugin: {
2236
2226
  };
2237
2227
  };
2238
2228
  rules: Record<string, string>;
2239
- };
2240
- "nextjs/recommended": {
2229
+ })[];
2230
+ "nextjs/recommended": ({
2231
+ files: string[];
2232
+ rules: {
2233
+ "nextfriday/file-kebab-case": string;
2234
+ "nextfriday/jsx-pascal-case": string;
2235
+ };
2236
+ } | {
2241
2237
  plugins: {
2242
2238
  nextfriday: {
2243
2239
  readonly meta: {
@@ -2420,34 +2416,6 @@ declare const nextfridayPlugin: {
2420
2416
  };
2421
2417
  };
2422
2418
  rules: Record<string, string>;
2423
- };
2424
- readonly sonarjs: {
2425
- name: string;
2426
- plugins: {
2427
- sonarjs: TSESLint.FlatConfig.Plugin;
2428
- };
2429
- rules: {
2430
- [x: string]: string;
2431
- };
2432
- }[];
2433
- readonly unicorn: ({
2434
- name: string;
2435
- plugins: {
2436
- unicorn: TSESLint.FlatConfig.Plugin;
2437
- };
2438
- rules: {
2439
- "unicorn/filename-case": string;
2440
- "unicorn/prevent-abbreviations": string;
2441
- "unicorn/no-null"?: undefined;
2442
- };
2443
- files?: undefined;
2444
- } | {
2445
- name: string;
2446
- files: string[];
2447
- rules: {
2448
- "unicorn/no-null": string;
2449
- };
2450
- plugins?: undefined;
2451
2419
  })[];
2452
2420
  };
2453
2421
  readonly rules: {
package/lib/index.d.ts CHANGED
@@ -914,7 +914,13 @@ declare const configs: {
914
914
  };
915
915
  rules: Record<string, string>;
916
916
  };
917
- nextjs: {
917
+ nextjs: ({
918
+ files: string[];
919
+ rules: {
920
+ "nextfriday/file-kebab-case": string;
921
+ "nextfriday/jsx-pascal-case": string;
922
+ };
923
+ } | {
918
924
  plugins: {
919
925
  nextfriday: {
920
926
  readonly meta: {
@@ -1097,8 +1103,14 @@ declare const configs: {
1097
1103
  };
1098
1104
  };
1099
1105
  rules: Record<string, string>;
1100
- };
1101
- "nextjs/recommended": {
1106
+ })[];
1107
+ "nextjs/recommended": ({
1108
+ files: string[];
1109
+ rules: {
1110
+ "nextfriday/file-kebab-case": string;
1111
+ "nextfriday/jsx-pascal-case": string;
1112
+ };
1113
+ } | {
1102
1114
  plugins: {
1103
1115
  nextfriday: {
1104
1116
  readonly meta: {
@@ -1281,34 +1293,6 @@ declare const configs: {
1281
1293
  };
1282
1294
  };
1283
1295
  rules: Record<string, string>;
1284
- };
1285
- readonly sonarjs: {
1286
- name: string;
1287
- plugins: {
1288
- sonarjs: TSESLint.FlatConfig.Plugin;
1289
- };
1290
- rules: {
1291
- [x: string]: string;
1292
- };
1293
- }[];
1294
- readonly unicorn: ({
1295
- name: string;
1296
- plugins: {
1297
- unicorn: TSESLint.FlatConfig.Plugin;
1298
- };
1299
- rules: {
1300
- "unicorn/filename-case": string;
1301
- "unicorn/prevent-abbreviations": string;
1302
- "unicorn/no-null"?: undefined;
1303
- };
1304
- files?: undefined;
1305
- } | {
1306
- name: string;
1307
- files: string[];
1308
- rules: {
1309
- "unicorn/no-null": string;
1310
- };
1311
- plugins?: undefined;
1312
1296
  })[];
1313
1297
  };
1314
1298
  declare const nextfridayPlugin: {
@@ -2053,7 +2037,13 @@ declare const nextfridayPlugin: {
2053
2037
  };
2054
2038
  rules: Record<string, string>;
2055
2039
  };
2056
- nextjs: {
2040
+ nextjs: ({
2041
+ files: string[];
2042
+ rules: {
2043
+ "nextfriday/file-kebab-case": string;
2044
+ "nextfriday/jsx-pascal-case": string;
2045
+ };
2046
+ } | {
2057
2047
  plugins: {
2058
2048
  nextfriday: {
2059
2049
  readonly meta: {
@@ -2236,8 +2226,14 @@ declare const nextfridayPlugin: {
2236
2226
  };
2237
2227
  };
2238
2228
  rules: Record<string, string>;
2239
- };
2240
- "nextjs/recommended": {
2229
+ })[];
2230
+ "nextjs/recommended": ({
2231
+ files: string[];
2232
+ rules: {
2233
+ "nextfriday/file-kebab-case": string;
2234
+ "nextfriday/jsx-pascal-case": string;
2235
+ };
2236
+ } | {
2241
2237
  plugins: {
2242
2238
  nextfriday: {
2243
2239
  readonly meta: {
@@ -2420,34 +2416,6 @@ declare const nextfridayPlugin: {
2420
2416
  };
2421
2417
  };
2422
2418
  rules: Record<string, string>;
2423
- };
2424
- readonly sonarjs: {
2425
- name: string;
2426
- plugins: {
2427
- sonarjs: TSESLint.FlatConfig.Plugin;
2428
- };
2429
- rules: {
2430
- [x: string]: string;
2431
- };
2432
- }[];
2433
- readonly unicorn: ({
2434
- name: string;
2435
- plugins: {
2436
- unicorn: TSESLint.FlatConfig.Plugin;
2437
- };
2438
- rules: {
2439
- "unicorn/filename-case": string;
2440
- "unicorn/prevent-abbreviations": string;
2441
- "unicorn/no-null"?: undefined;
2442
- };
2443
- files?: undefined;
2444
- } | {
2445
- name: string;
2446
- files: string[];
2447
- rules: {
2448
- "unicorn/no-null": string;
2449
- };
2450
- plugins?: undefined;
2451
2419
  })[];
2452
2420
  };
2453
2421
  readonly rules: {