eslint-config-airbnb-extended 0.1.1 → 0.2.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.
@@ -1,3 +1,4 @@
1
+ import type { Linter } from 'eslint';
1
2
  declare const _default: {
2
3
  bestPractices: {
3
4
  name: string;
@@ -388,7 +389,155 @@ declare const _default: {
388
389
  'yield-star-spacing': ["error", string];
389
390
  };
390
391
  };
391
- imports: any;
392
+ imports: {
393
+ name: string;
394
+ languageOptions: {
395
+ globals: {
396
+ Array: false;
397
+ ArrayBuffer: false;
398
+ Boolean: false;
399
+ DataView: false;
400
+ Date: false;
401
+ decodeURI: false;
402
+ decodeURIComponent: false;
403
+ encodeURI: false;
404
+ encodeURIComponent: false;
405
+ Error: false;
406
+ escape: false;
407
+ eval: false;
408
+ EvalError: false;
409
+ Float32Array: false;
410
+ Float64Array: false;
411
+ Function: false;
412
+ Infinity: false;
413
+ Int16Array: false;
414
+ Int32Array: false;
415
+ Int8Array: false;
416
+ Intl: false;
417
+ isFinite: false;
418
+ isNaN: false;
419
+ JSON: false;
420
+ Map: false;
421
+ Math: false;
422
+ NaN: false;
423
+ Number: false;
424
+ Object: false;
425
+ parseFloat: false;
426
+ parseInt: false;
427
+ Promise: false;
428
+ Proxy: false;
429
+ RangeError: false;
430
+ ReferenceError: false;
431
+ Reflect: false;
432
+ RegExp: false;
433
+ Set: false;
434
+ String: false;
435
+ Symbol: false;
436
+ SyntaxError: false;
437
+ TypeError: false;
438
+ Uint16Array: false;
439
+ Uint32Array: false;
440
+ Uint8Array: false;
441
+ Uint8ClampedArray: false;
442
+ undefined: false;
443
+ unescape: false;
444
+ URIError: false;
445
+ WeakMap: false;
446
+ WeakSet: false;
447
+ };
448
+ parserOptions: {
449
+ ecmaVersion: 6;
450
+ sourceType: "module";
451
+ };
452
+ };
453
+ settings: {
454
+ 'import-x/resolver': {
455
+ node: {
456
+ extensions: string[];
457
+ };
458
+ };
459
+ 'import-x/extensions': string[];
460
+ 'import-x/core-modules': never[];
461
+ 'import-x/ignore': string[];
462
+ };
463
+ rules: {
464
+ 'import-x/consistent-type-specifier-style': "off";
465
+ 'import-x/default': "error";
466
+ 'import-x/dynamic-import-chunkname': "off";
467
+ 'import-x/export': "error";
468
+ 'import-x/exports-last': "off";
469
+ 'import-x/extensions': ["error", string, {
470
+ [k: string]: string;
471
+ }];
472
+ 'import-x/first': "error";
473
+ 'import-x/group-exports': "off";
474
+ 'import-x/imports-first': "off";
475
+ 'import-x/max-dependencies': "off";
476
+ 'import-x/named': "error";
477
+ 'import-x/namespaces': "error";
478
+ 'import-x/newline-after-import': "error";
479
+ 'import-x/no-absolute-path': "error";
480
+ 'import-x/no-amd': "error";
481
+ 'import-x/no-anonymous-default-export': "off";
482
+ 'import-x/no-commonjs': "off";
483
+ 'import-x/no-cycle': ["error", {
484
+ maxDepth: string;
485
+ }];
486
+ 'import-x/no-default-export': "off";
487
+ 'import-x/no-deprecated': "off";
488
+ 'import-x/no-duplicates': "error";
489
+ 'import-x/no-dynamic-require': "error";
490
+ 'import-x/no-empty-named-blocks': "error";
491
+ 'import-x/no-extraneous-dependencies': ["error", {
492
+ devDependencies: string[];
493
+ optionalDependencies: boolean;
494
+ peerDependencies: boolean;
495
+ bundledDependencies: boolean;
496
+ }];
497
+ 'import-x/no-import-module-exports': ["error", {
498
+ exceptions: never[];
499
+ }];
500
+ 'import-x/no-internal-modules': "off";
501
+ 'import-x/no-mutable-exports': "error";
502
+ 'import-x/no-named-as-default-member': "error";
503
+ 'import-x/no-named-as-default': "error";
504
+ 'import-x/no-named-default': "error";
505
+ 'import-x/no-named-export': "off";
506
+ 'import-x/no-namespace': "off";
507
+ 'import-x/no-nodejs-modules': "off";
508
+ 'import-x/no-relative-packages': "error";
509
+ 'import-x/no-relative-parent-imports': "off";
510
+ 'import-x/no-rename-default': "warn";
511
+ 'import-x/no-restricted-paths': "off";
512
+ 'import-x/no-self-import': "error";
513
+ 'import-x/no-unassigned-import': "off";
514
+ 'import-x/no-unresolved': ["error", {
515
+ commonjs: boolean;
516
+ caseSensitive: boolean;
517
+ }];
518
+ 'import-x/no-unused-modules': ["off", {
519
+ ignoreExports: never[];
520
+ missingExports: boolean;
521
+ unusedExports: boolean;
522
+ }];
523
+ 'import-x/no-useless-path-segments': ["error", {
524
+ noUselessIndex: boolean;
525
+ commonjs: boolean;
526
+ }];
527
+ 'import-x/no-webpack-loader-syntax': "error";
528
+ 'import-x/order': ["error", {
529
+ groups: string[][];
530
+ }];
531
+ 'import-x/prefer-default-export': "error";
532
+ 'import-x/unambiguous': "off";
533
+ };
534
+ files?: Array<string | string[]>;
535
+ ignores?: string[];
536
+ language?: string;
537
+ linterOptions?: Linter.LinterOptions;
538
+ processor?: string | Linter.Processor;
539
+ plugins?: Record<string, import("eslint").ESLint.Plugin>;
540
+ };
392
541
  node: {
393
542
  name: string;
394
543
  languageOptions: {
@@ -817,7 +966,7 @@ declare const _default: {
817
966
  name: string;
818
967
  message: string;
819
968
  }, ...{
820
- name: "self" | "location" | "external" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
969
+ name: "self" | "location" | "length" | "find" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
821
970
  message: string;
822
971
  }[]];
823
972
  'no-shadow': "error";