@newsteam/eslint-config 0.0.105 → 0.0.108

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.
@@ -16,7 +16,9 @@ declare const _default: {
16
16
  "node/no-path-concat": string;
17
17
  "node/no-process-exit": string;
18
18
  "node/no-unpublished-bin": string;
19
- "node/no-unpublished-import": string;
19
+ "node/no-unpublished-import": (string | {
20
+ allowModules: string[];
21
+ })[];
20
22
  "node/no-unpublished-require": string;
21
23
  "node/no-unsupported-features/es-builtins": string;
22
24
  "node/no-unsupported-features/es-syntax": (string | {
@@ -98,7 +98,12 @@ module.exports = {
98
98
  *
99
99
  * https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-unpublished-import.md
100
100
  */
101
- "node/no-unpublished-import": "error",
101
+ "node/no-unpublished-import": [
102
+ "error",
103
+ {
104
+ allowModules: ["electron"]
105
+ }
106
+ ],
102
107
  /*
103
108
  * Disallow require() expressions of private things
104
109
  *
@@ -371,6 +371,7 @@ declare const _default: {
371
371
  "semi-spacing": string;
372
372
  "semi-style": string[];
373
373
  "sort-imports": (string | {
374
+ ignoreCase: boolean;
374
375
  ignoreDeclarationSort: boolean;
375
376
  })[];
376
377
  "sort-keys": (string | {
package/lib/cjs/rules.js CHANGED
@@ -1834,6 +1834,7 @@ module.exports = {
1834
1834
  "sort-imports": [
1835
1835
  "error",
1836
1836
  {
1837
+ ignoreCase: true,
1837
1838
  ignoreDeclarationSort: true
1838
1839
  }
1839
1840
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.105",
3
+ "version": "0.0.108",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "types": "./lib/cjs/index.d.ts",
@@ -53,8 +53,8 @@
53
53
  "@types/eslint": "8.4.1",
54
54
  "@types/node": "17.0.23",
55
55
  "@types/react": "17.0.43",
56
- "@typescript-eslint/eslint-plugin": "5.17.0",
57
- "@typescript-eslint/parser": "5.17.0",
56
+ "@typescript-eslint/eslint-plugin": "5.18.0",
57
+ "@typescript-eslint/parser": "5.18.0",
58
58
  "eslint": "8.12.0",
59
59
  "eslint-find-rules": "4.1.0",
60
60
  "eslint-plugin-array-func": "3.1.7",
@@ -84,8 +84,8 @@
84
84
  "typescript": "4.6.3"
85
85
  },
86
86
  "peerDependencies": {
87
- "@typescript-eslint/eslint-plugin": "5.17.0",
88
- "@typescript-eslint/parser": "5.17.0",
87
+ "@typescript-eslint/eslint-plugin": "5.18.0",
88
+ "@typescript-eslint/parser": "5.18.0",
89
89
  "eslint": "8.12.0",
90
90
  "eslint-plugin-array-func": "3.1.7",
91
91
  "eslint-plugin-css-modules": "2.11.0",