@foray1010/eslint-config 10.0.1 → 10.0.2

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.0.2](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.0.1...@foray1010/eslint-config@10.0.2) (2023-03-23)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **eslint-config:** disable some eslint-plugin-import rules due to not support flat config ([3a84a7d](https://github.com/foray1010/common-presets/commit/3a84a7d10e0bdd8b81ce115ad509e46eee2330c5))
11
+
6
12
  ## [10.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.0.0...@foray1010/eslint-config@10.0.1) (2023-03-23)
7
13
 
8
14
  ### Bug Fixes
package/bases/base.mjs CHANGED
@@ -143,6 +143,10 @@ const baseConfig = [
143
143
  noUselessIndex: false,
144
144
  },
145
145
  ],
146
+ // turn off these rules as they do not support flat config: https://github.com/import-js/eslint-plugin-import/issues/2556
147
+ 'import/namespace': 'off',
148
+ 'import/no-named-as-default': 'off',
149
+ 'import/no-named-as-default-member': 'off',
146
150
  // prefer explicitly convert type for readability
147
151
  'no-implicit-coercion': 'error',
148
152
  // make sure private class members are in-use
@@ -1,5 +1,4 @@
1
1
  import eslintConfigPrettier from 'eslint-config-prettier'
2
- // eslint-disable-next-line import/namespace, import/no-named-as-default, import/no-named-as-default-member
3
2
  import eslintPluginPrettier from 'eslint-plugin-prettier'
4
3
 
5
4
  /** @type {import('eslint').Linter.FlatConfig[]} */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/eslint-config",
4
- "version": "10.0.1",
4
+ "version": "10.0.2",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@eslint-community/eslint-plugin-eslint-comments": "^3.2.1",
24
24
  "@eslint/js": "^8.36.0",
25
- "@foray1010/common-presets-utils": "^7.0.0",
25
+ "@foray1010/common-presets-utils": "^7.0.1",
26
26
  "@typescript-eslint/eslint-plugin": "^5.56.0",
27
27
  "@typescript-eslint/parser": "^5.56.0",
28
28
  "confusing-browser-globals": "^1.0.10",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "c722884bc466360097d9ab80e72f350a15ed7cad"
61
+ "gitHead": "c532946a18c6a773dd05bb8be2c90e905181e165"
62
62
  }