@nfq/eslint-config 2.2.7 → 2.2.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.2.8](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.7...v2.2.8) (2022-11-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **imports:** Account for types ([#27](https://github.com/nfqde/eslint-config-nfq/issues/27)) ([4c6cfdb](https://github.com/nfqde/eslint-config-nfq/commit/4c6cfdb727db2c67f636c9223c91c931b28202a1))
11
+
5
12
  ### [2.2.7](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.6...v2.2.7) (2022-10-20)
6
13
 
7
14
 
package/config/globals.js CHANGED
@@ -10,5 +10,7 @@ module.exports = {
10
10
  Cypress: false,
11
11
  describe: false,
12
12
  expect: false,
13
- it: false
13
+ it: false,
14
+ JSX: false,
15
+ NodeJs: false
14
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "engines": {
5
5
  "node": ">= 12.0.0"
6
6
  },
package/rules/imports.js CHANGED
@@ -76,7 +76,13 @@ module.exports = {
76
76
  ], // Ensure consistent use of file extension within the import path https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
77
77
  'import/first': 2, // disallow non-import statements appearing before import statements https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md
78
78
  'import/group-exports': 0, // Reports when named exports are not grouped together in a single export declaration or when multiple assignments to CommonJS module.exports or exports object are present in a single file. https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/group-exports.md
79
- 'import/max-dependencies': [1, {max: 20}], // Forbid modules to have too many dependencies https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/max-dependencies.md
79
+ 'import/max-dependencies': [
80
+ 1,
81
+ {
82
+ max: 20,
83
+ ignoreTypeImports: false
84
+ }
85
+ ], // Forbid modules to have too many dependencies https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/max-dependencies.md
80
86
  'import/newline-after-import': 2, // Require a newline after the last import/require in a group https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md
81
87
  'import/no-absolute-path': 2, // Forbid import of modules using absolute paths https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md
82
88
  'import/no-anonymous-default-export': [