@newsteam/eslint-config 0.0.70 → 0.0.72

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 (58) hide show
  1. package/lib/plugins/import/style.js +1 -1
  2. package/lib/plugins/import/style.mjs +1 -1
  3. package/lib/plugins/react/jsx.js +1 -1
  4. package/lib/plugins/react/mjsx.js +1 -1
  5. package/lib/plugins/react-hooks.js +1 -1
  6. package/lib/plugins/react-hooks.mjs +1 -1
  7. package/lib/plugins/typescript.js +1 -1
  8. package/lib/plugins/typescript.mjs +1 -1
  9. package/package.json +5 -5
  10. package/lib/index.d.ts +0 -3
  11. package/lib/overrides/index.d.ts +0 -2
  12. package/lib/overrides/javascript.d.ts +0 -2
  13. package/lib/overrides/typescript.d.ts +0 -2
  14. package/lib/plugins/array-function.d.ts +0 -12
  15. package/lib/plugins/async-await.d.ts +0 -8
  16. package/lib/plugins/css-modules.d.ts +0 -17
  17. package/lib/plugins/es/es2015.d.ts +0 -70
  18. package/lib/plugins/es/es2016.d.ts +0 -6
  19. package/lib/plugins/es/es2017.d.ts +0 -12
  20. package/lib/plugins/es/es2018.d.ts +0 -12
  21. package/lib/plugins/es/es2019.d.ts +0 -9
  22. package/lib/plugins/es/es2020.d.ts +0 -13
  23. package/lib/plugins/es/es2021.d.ts +0 -9
  24. package/lib/plugins/es/es5.d.ts +0 -23
  25. package/lib/plugins/es/index.d.ts +0 -5
  26. package/lib/plugins/eslint-comments/best-practices.d.ts +0 -14
  27. package/lib/plugins/eslint-comments/index.d.ts +0 -5
  28. package/lib/plugins/eslint-comments/style.d.ts +0 -7
  29. package/lib/plugins/filenames.d.ts +0 -9
  30. package/lib/plugins/format-message.d.ts +0 -29
  31. package/lib/plugins/import/index.d.ts +0 -19
  32. package/lib/plugins/import/module-systems.d.ts +0 -10
  33. package/lib/plugins/import/static-analysis.d.ts +0 -20
  34. package/lib/plugins/import/style.d.ts +0 -45
  35. package/lib/plugins/import/warnings.d.ts +0 -11
  36. package/lib/plugins/more.d.ts +0 -18
  37. package/lib/plugins/no-unsanitized.d.ts +0 -8
  38. package/lib/plugins/no-useless-assign.d.ts +0 -7
  39. package/lib/plugins/node/best-practices.d.ts +0 -6
  40. package/lib/plugins/node/errors.d.ts +0 -31
  41. package/lib/plugins/node/index.d.ts +0 -24
  42. package/lib/plugins/node/style.d.ts +0 -35
  43. package/lib/plugins/optimize-regex.d.ts +0 -7
  44. package/lib/plugins/prefer-object-spread.d.ts +0 -7
  45. package/lib/plugins/promise.d.ts +0 -20
  46. package/lib/plugins/react/base.d.ts +0 -71
  47. package/lib/plugins/react/index.d.ts +0 -15
  48. package/lib/plugins/react/jsx.d.ts +0 -50
  49. package/lib/plugins/react-hooks.d.ts +0 -8
  50. package/lib/plugins/react-native.d.ts +0 -13
  51. package/lib/plugins/react-perf.d.ts +0 -10
  52. package/lib/plugins/security.d.ts +0 -19
  53. package/lib/plugins/sort-keys-fix.d.ts +0 -9
  54. package/lib/plugins/typescript.d.ts +0 -229
  55. package/lib/plugins/unicorn.d.ts +0 -139
  56. package/lib/plugins/webassembly.d.ts +0 -7
  57. package/lib/rules.d.ts +0 -410
  58. package/lib/settings.d.ts +0 -11
@@ -37,7 +37,7 @@ var _default = {
37
37
  allow: ["@babel/polyfill", "@babel/register", "core-js/stable", "dotenv/config", "jasmine", "reflect-metadata", "regenerator-runtime/runtime", "**/*.scss", "**/*.css"]
38
38
  }],
39
39
  "import/order": ["error", {
40
- groups: ["builtin", "external", "internal", "sibling", "parent", "index", "object", "type"],
40
+ groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
41
41
  "newlines-between": "always",
42
42
  pathGroups: [{
43
43
  group: "internal",
@@ -31,7 +31,7 @@ export default {
31
31
  allow: ["@babel/polyfill", "@babel/register", "core-js/stable", "dotenv/config", "jasmine", "reflect-metadata", "regenerator-runtime/runtime", "**/*.scss", "**/*.css"]
32
32
  }],
33
33
  "import/order": ["error", {
34
- groups: ["builtin", "external", "internal", "sibling", "parent", "index", "object", "type"],
34
+ groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
35
35
  "newlines-between": "always",
36
36
  pathGroups: [{
37
37
  group: "internal",
@@ -42,7 +42,7 @@ var _default = {
42
42
  "react/jsx-one-expression-per-line": "error",
43
43
  "react/jsx-pascal-case": "error",
44
44
  "react/jsx-props-no-multi-spaces": "error",
45
- "react/jsx-props-no-spreading": "error",
45
+ "react/jsx-props-no-spreading": "off",
46
46
  "react/jsx-sort-default-props": "error",
47
47
  "react/jsx-sort-props": ["error", {
48
48
  ignoreCase: true
@@ -36,7 +36,7 @@ export default {
36
36
  "react/jsx-one-expression-per-line": "error",
37
37
  "react/jsx-pascal-case": "error",
38
38
  "react/jsx-props-no-multi-spaces": "error",
39
- "react/jsx-props-no-spreading": "error",
39
+ "react/jsx-props-no-spreading": "off",
40
40
  "react/jsx-sort-default-props": "error",
41
41
  "react/jsx-sort-props": ["error", {
42
42
  ignoreCase: true
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
  var _default = {
8
8
  plugins: ["react-hooks"],
9
9
  rules: {
10
- "react-hooks/exhaustive-deps": "error",
10
+ "react-hooks/exhaustive-deps": "off",
11
11
  "react-hooks/rules-of-hooks": "error"
12
12
  }
13
13
  };
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  plugins: ["react-hooks"],
3
3
  rules: {
4
- "react-hooks/exhaustive-deps": "error",
4
+ "react-hooks/exhaustive-deps": "off",
5
5
  "react-hooks/rules-of-hooks": "error"
6
6
  }
7
7
  };
@@ -183,7 +183,7 @@ const rules = {
183
183
  "@typescript-eslint/no-unsafe-argument": "error",
184
184
  "@typescript-eslint/no-unsafe-assignment": "error",
185
185
  "@typescript-eslint/no-unsafe-call": "error",
186
- "@typescript-eslint/no-unsafe-member-access": "error",
186
+ "@typescript-eslint/no-unsafe-member-access": "off",
187
187
  "@typescript-eslint/no-unsafe-return": "error",
188
188
  "@typescript-eslint/no-unused-expressions": "error",
189
189
  "@typescript-eslint/no-unused-vars": "error",
@@ -175,7 +175,7 @@ const rules = {
175
175
  "@typescript-eslint/no-unsafe-argument": "error",
176
176
  "@typescript-eslint/no-unsafe-assignment": "error",
177
177
  "@typescript-eslint/no-unsafe-call": "error",
178
- "@typescript-eslint/no-unsafe-member-access": "error",
178
+ "@typescript-eslint/no-unsafe-member-access": "off",
179
179
  "@typescript-eslint/no-unsafe-return": "error",
180
180
  "@typescript-eslint/no-unused-expressions": "error",
181
181
  "@typescript-eslint/no-unused-vars": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "lib",
6
6
  "types": "lib",
@@ -51,7 +51,7 @@
51
51
  "devDependencies": {
52
52
  "@newsteam/babel": "0.0.41",
53
53
  "@newsteam/jasmine": "0.0.38",
54
- "@types/eslint": "8.2.2",
54
+ "@types/eslint": "8.4.0",
55
55
  "@types/node": "17.0.10",
56
56
  "@types/react": "17.0.38",
57
57
  "@typescript-eslint/eslint-plugin": "5.10.0",
@@ -82,9 +82,9 @@
82
82
  "eslint-plugin-unicorn": "40.1.0",
83
83
  "eslint-plugin-webassembly": "1.11.1",
84
84
  "json-schema": "0.4.0",
85
- "npm-check-updates": "12.1.0",
85
+ "npm-check-updates": "12.2.0",
86
86
  "react": "17.0.2",
87
- "typescript": "4.5.4"
87
+ "typescript": "4.5.5"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "@typescript-eslint/eslint-plugin": "5.10.0",
@@ -115,6 +115,6 @@
115
115
  "eslint-plugin-webassembly": "1.11.1",
116
116
  "eslint-plugin-you-dont-need-lodash-underscore": "6.12.0",
117
117
  "json-schema": "0.4.0",
118
- "typescript": "4.5.4"
118
+ "typescript": "4.5.5"
119
119
  }
120
120
  }
package/lib/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { Linter } from "eslint";
2
- declare const config: Linter.Config;
3
- export default config;
@@ -1,2 +0,0 @@
1
- import type { Linter } from "eslint";
2
- export declare const overrides: Linter.ConfigOverride[];
@@ -1,2 +0,0 @@
1
- import type { Linter } from "eslint";
2
- export declare const javascriptOverrides: Linter.ConfigOverride;
@@ -1,2 +0,0 @@
1
- import type { Linter } from "eslint";
2
- export declare const typescriptOverrides: Linter.ConfigOverride;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "array-func/avoid-reverse": string;
5
- "array-func/from-map": string;
6
- "array-func/no-unnecessary-this-arg": string;
7
- "array-func/prefer-array-from": string;
8
- "array-func/prefer-flat": string;
9
- "array-func/prefer-flat-map": string;
10
- };
11
- };
12
- export default _default;
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "async-await/space-after-async": string;
5
- "async-await/space-after-await": string;
6
- };
7
- };
8
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "css-modules/no-undef-class": (string | {
5
- camelCase: boolean;
6
- })[];
7
- "css-modules/no-unused-class": (string | {
8
- camelCase: boolean;
9
- })[];
10
- };
11
- settings: {
12
- "css-modules": {
13
- basePath: string;
14
- };
15
- };
16
- };
17
- export default _default;
@@ -1,70 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-array-from": string;
4
- "es/no-array-of": string;
5
- "es/no-arrow-functions": string;
6
- "es/no-binary-numeric-literals": string;
7
- "es/no-block-scoped-functions": string;
8
- "es/no-block-scoped-variables": string;
9
- "es/no-classes": string;
10
- "es/no-computed-properties": string;
11
- "es/no-default-parameters": string;
12
- "es/no-destructuring": string;
13
- "es/no-for-of-loops": string;
14
- "es/no-generators": string;
15
- "es/no-map": string;
16
- "es/no-math-acosh": string;
17
- "es/no-math-asinh": string;
18
- "es/no-math-atanh": string;
19
- "es/no-math-cbrt": string;
20
- "es/no-math-clz32": string;
21
- "es/no-math-cosh": string;
22
- "es/no-math-expm1": string;
23
- "es/no-math-fround": string;
24
- "es/no-math-hypot": string;
25
- "es/no-math-imul": string;
26
- "es/no-math-log10": string;
27
- "es/no-math-log1p": string;
28
- "es/no-math-log2": string;
29
- "es/no-math-sign": string;
30
- "es/no-math-sinh": string;
31
- "es/no-math-tanh": string;
32
- "es/no-math-trunc": string;
33
- "es/no-modules": string;
34
- "es/no-new-target": string;
35
- "es/no-number-epsilon": string;
36
- "es/no-number-isfinite": string;
37
- "es/no-number-isinteger": string;
38
- "es/no-number-isnan": string;
39
- "es/no-number-issafeinteger": string;
40
- "es/no-number-maxsafeinteger": string;
41
- "es/no-number-minsafeinteger": string;
42
- "es/no-number-parsefloat": string;
43
- "es/no-number-parseint": string;
44
- "es/no-object-assign": string;
45
- "es/no-object-getownpropertysymbols": string;
46
- "es/no-object-is": string;
47
- "es/no-object-setprototypeof": string;
48
- "es/no-object-super-properties": string;
49
- "es/no-octal-numeric-literals": string;
50
- "es/no-promise": string;
51
- "es/no-property-shorthands": string;
52
- "es/no-proxy": string;
53
- "es/no-reflect": string;
54
- "es/no-regexp-u-flag": string;
55
- "es/no-regexp-y-flag": string;
56
- "es/no-rest-parameters": string;
57
- "es/no-set": string;
58
- "es/no-spread-elements": string;
59
- "es/no-string-fromcodepoint": string;
60
- "es/no-string-raw": string;
61
- "es/no-subclassing-builtins": string;
62
- "es/no-symbol": string;
63
- "es/no-template-literals": string;
64
- "es/no-typed-arrays": string;
65
- "es/no-unicode-codepoint-escapes": string;
66
- "es/no-weak-map": string;
67
- "es/no-weak-set": string;
68
- };
69
- };
70
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-exponential-operators": string;
4
- };
5
- };
6
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-async-functions": string;
4
- "es/no-atomics": string;
5
- "es/no-object-entries": string;
6
- "es/no-object-getownpropertydescriptors": string;
7
- "es/no-object-values": string;
8
- "es/no-shared-array-buffer": string;
9
- "es/no-trailing-function-commas": string;
10
- };
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-async-iteration": string;
4
- "es/no-malformed-template-literals": string;
5
- "es/no-regexp-lookbehind-assertions": string;
6
- "es/no-regexp-named-capture-groups": string;
7
- "es/no-regexp-s-flag": string;
8
- "es/no-regexp-unicode-property-escapes": string;
9
- "es/no-rest-spread-properties": string;
10
- };
11
- };
12
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-json-superset": string;
4
- "es/no-object-fromentries": string;
5
- "es/no-optional-catch-binding": string;
6
- "es/no-regexp-unicode-property-escapes-2019": string;
7
- };
8
- };
9
- export default _default;
@@ -1,13 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-bigint": string;
4
- "es/no-dynamic-import": string;
5
- "es/no-export-ns-from": string;
6
- "es/no-global-this": string;
7
- "es/no-import-meta": string;
8
- "es/no-nullish-coalescing-operators": string;
9
- "es/no-optional-chaining": string;
10
- "es/no-promise-all-settled": string;
11
- };
12
- };
13
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-logical-assignment-operators": string;
4
- "es/no-numeric-separators": string;
5
- "es/no-promise-any": string;
6
- "es/no-weakrefs": string;
7
- };
8
- };
9
- export default _default;
@@ -1,23 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "es/no-accessor-properties": string;
4
- "es/no-array-isarray": string;
5
- "es/no-date-now": string;
6
- "es/no-json": string;
7
- "es/no-keyword-properties": string;
8
- "es/no-object-defineproperties": string;
9
- "es/no-object-defineproperty": string;
10
- "es/no-object-freeze": string;
11
- "es/no-object-getownpropertydescriptor": string;
12
- "es/no-object-getownpropertynames": string;
13
- "es/no-object-getprototypeof": string;
14
- "es/no-object-isextensible": string;
15
- "es/no-object-isfrozen": string;
16
- "es/no-object-issealed": string;
17
- "es/no-object-keys": string;
18
- "es/no-object-preventextensions": string;
19
- "es/no-object-seal": string;
20
- "es/no-trailing-commas": string;
21
- };
22
- };
23
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- extends: string[];
3
- plugins: string[];
4
- };
5
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "eslint-comments/disable-enable-pair": string;
4
- "eslint-comments/no-aggregating-enable": string;
5
- "eslint-comments/no-duplicate-disable": string;
6
- "eslint-comments/no-restricted-disable": string;
7
- "eslint-comments/no-unused-disable": string;
8
- "eslint-comments/no-unused-enable": string;
9
- "eslint-comments/require-description": (string | {
10
- ignore: string[];
11
- })[];
12
- };
13
- };
14
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- extends: string[];
3
- plugins: string[];
4
- };
5
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "eslint-comments/no-unlimited-disable": string;
4
- "eslint-comments/no-use": string;
5
- };
6
- };
7
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "filenames/match-exported": string[];
5
- "filenames/match-regex": (string | boolean)[];
6
- "filenames/no-index": string;
7
- };
8
- };
9
- export default _default;
@@ -1,29 +0,0 @@
1
- interface FormatMessageSettings {
2
- "format-message": {
3
- generateId: string;
4
- locale?: string;
5
- sourceLocale: string;
6
- };
7
- }
8
- declare const _default: {
9
- plugins: string[];
10
- rules: {
11
- "format-message/literal-locale": string;
12
- "format-message/literal-pattern": string;
13
- "format-message/no-empty-jsx-message": string;
14
- "format-message/no-identical-translation": string;
15
- "format-message/no-invalid-pattern": string;
16
- "format-message/no-invalid-plural-keyword": string;
17
- "format-message/no-invalid-translate-attribute": string;
18
- "format-message/no-invalid-translation": string;
19
- "format-message/no-missing-params": (string | {
20
- allowNonLiteral: boolean;
21
- })[];
22
- "format-message/no-missing-plural-keyword": string;
23
- "format-message/no-missing-translation": string;
24
- "format-message/no-top-scope": string;
25
- "format-message/translation-match-params": string;
26
- };
27
- settings: FormatMessageSettings;
28
- };
29
- export default _default;
@@ -1,19 +0,0 @@
1
- declare const _default: {
2
- extends: string[];
3
- plugins: string[];
4
- settings: {
5
- "import/extensions": string[];
6
- "import/parsers": {
7
- "@typescript-eslint/parser": string[];
8
- };
9
- "import/resolver": {
10
- node: {
11
- extensions: string[];
12
- };
13
- typescript: {
14
- project: string;
15
- };
16
- };
17
- };
18
- };
19
- export default _default;
@@ -1,10 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "import/no-amd": string;
4
- "import/no-commonjs": string;
5
- "import/no-import-module-exports": string;
6
- "import/no-nodejs-modules": string;
7
- "import/unambiguous": string;
8
- };
9
- };
10
- export default _default;
@@ -1,20 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "import/default": string;
4
- "import/named": string;
5
- "import/namespace": string;
6
- "import/no-absolute-path": string;
7
- "import/no-cycle": string;
8
- "import/no-dynamic-require": string;
9
- "import/no-internal-modules": string;
10
- "import/no-relative-packages": string;
11
- "import/no-relative-parent-imports": string;
12
- "import/no-restricted-paths": string;
13
- "import/no-self-import": string;
14
- "import/no-unresolved": string;
15
- "import/no-unused-modules": string;
16
- "import/no-useless-path-segments": string;
17
- "import/no-webpack-loader-syntax": string;
18
- };
19
- };
20
- export default _default;
@@ -1,45 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "import/dynamic-import-chunkname": string;
4
- "import/exports-last": string;
5
- "import/extensions": (string | {
6
- css: string;
7
- html: string;
8
- ico: string;
9
- jpeg: string;
10
- jpg: string;
11
- json: string;
12
- png: string;
13
- scss: string;
14
- svg: string;
15
- })[];
16
- "import/first": string;
17
- "import/group-exports": string;
18
- "import/max-dependencies": (string | {
19
- max: number;
20
- })[];
21
- "import/newline-after-import": string;
22
- "import/no-anonymous-default-export": (string | {
23
- allowObject: boolean;
24
- })[];
25
- "import/no-default-export": string;
26
- "import/no-duplicates": string;
27
- "import/no-named-default": string;
28
- "import/no-named-export": string;
29
- "import/no-namespace": string;
30
- "import/no-unassigned-import": (string | {
31
- allow: string[];
32
- })[];
33
- "import/order": (string | {
34
- groups: string[];
35
- "newlines-between": string;
36
- pathGroups: {
37
- group: string;
38
- pattern: string;
39
- }[];
40
- pathGroupsExcludedImportTypes: string[];
41
- })[];
42
- "import/prefer-default-export": string;
43
- };
44
- };
45
- export default _default;
@@ -1,11 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "import/export": string;
4
- "import/no-deprecated": string;
5
- "import/no-extraneous-dependencies": string;
6
- "import/no-mutable-exports": string;
7
- "import/no-named-as-default": string;
8
- "import/no-named-as-default-member": string;
9
- };
10
- };
11
- export default _default;
@@ -1,18 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "more/classbody-starts-with-newline": string[];
5
- "more/force-native-methods": string;
6
- "more/no-c-like-loops": string;
7
- "more/no-duplicated-chains": string;
8
- "more/no-filter-instead-of-find": string;
9
- "more/no-hardcoded-configuration-data": string;
10
- "more/no-hardcoded-password": string;
11
- "more/no-numeric-endings-for-variables": string;
12
- "more/no-then": string;
13
- "more/no-void-map": string;
14
- "more/no-window": string;
15
- "more/prefer-includes": string;
16
- };
17
- };
18
- export default _default;
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "no-unsanitized/method": string;
5
- "no-unsanitized/property": string;
6
- };
7
- };
8
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- plugins: string[];
3
- rules: {
4
- "no-useless-assign/no-useless-assign": string;
5
- };
6
- };
7
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "node/no-deprecated-api": string;
4
- };
5
- };
6
- export default _default;
@@ -1,31 +0,0 @@
1
- declare const _default: {
2
- rules: {
3
- "node/no-callback-literal": string;
4
- "node/no-exports-assign": string;
5
- "node/no-extraneous-import": string;
6
- "node/no-extraneous-require": string;
7
- "node/no-missing-import": (string | {
8
- resolvePaths: string[];
9
- tryExtensions: string[];
10
- })[];
11
- "node/no-missing-require": (string | {
12
- resolvePaths: string[];
13
- tryExtensions: string[];
14
- })[];
15
- "node/no-new-require": string;
16
- "node/no-path-concat": string;
17
- "node/no-process-exit": string;
18
- "node/no-unpublished-bin": string;
19
- "node/no-unpublished-import": string;
20
- "node/no-unpublished-require": string;
21
- "node/no-unsupported-features/es-builtins": string;
22
- "node/no-unsupported-features/es-syntax": (string | {
23
- ignores: string[];
24
- version: string;
25
- })[];
26
- "node/no-unsupported-features/node-builtins": string;
27
- "node/process-exit-as-throw": string;
28
- "node/shebang": string;
29
- };
30
- };
31
- export default _default;
@@ -1,24 +0,0 @@
1
- declare const _default: {
2
- env: {
3
- node: boolean;
4
- };
5
- extends: string[];
6
- globals: {
7
- __dirname: boolean;
8
- __filename: boolean;
9
- Buffer: boolean;
10
- global: boolean;
11
- module: boolean;
12
- process: boolean;
13
- Promise: boolean;
14
- require: boolean;
15
- System: boolean;
16
- };
17
- plugins: string[];
18
- settings: {
19
- node: {
20
- allowModules: string[];
21
- };
22
- };
23
- };
24
- export default _default;