@egy186/eslint-config 0.105.2 → 0.105.3

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/dist/index.d.ts CHANGED
@@ -247,7 +247,9 @@ declare const config: {
247
247
  'import/dynamic-import-chunkname': "error";
248
248
  'import/export': "error";
249
249
  'import/exports-last': "error";
250
- 'import/extensions': ["error", string];
250
+ 'import/extensions': ["error", string, {
251
+ ignorePackages: boolean;
252
+ }];
251
253
  'import/first': "error";
252
254
  'import/group-exports': "error";
253
255
  'import/max-dependencies': "error";
@@ -4,7 +4,9 @@ declare const rules: {
4
4
  'import/dynamic-import-chunkname': "error";
5
5
  'import/export': "error";
6
6
  'import/exports-last': "error";
7
- 'import/extensions': ["error", string];
7
+ 'import/extensions': ["error", string, {
8
+ ignorePackages: boolean;
9
+ }];
8
10
  'import/first': "error";
9
11
  'import/group-exports': "error";
10
12
  'import/max-dependencies': "error";
@@ -6,7 +6,11 @@ const rules = {
6
6
  'import/dynamic-import-chunkname': 'error',
7
7
  'import/export': 'error',
8
8
  'import/exports-last': 'error',
9
- 'import/extensions': ['error', 'always'],
9
+ 'import/extensions': [
10
+ 'error',
11
+ 'always',
12
+ { ignorePackages: true }
13
+ ],
10
14
  'import/first': 'error',
11
15
  'import/group-exports': 'error',
12
16
  'import/max-dependencies': 'error',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@egy186/eslint-config",
3
3
  "description": "Eslint shareable config",
4
- "version": "0.105.2",
4
+ "version": "0.105.3",
5
5
  "author": "egy186",
6
6
  "bugs": {
7
7
  "url": "https://github.com/egy186/eslint-config/issues"