@abinnovision/eslint-config-base 2.1.0 → 2.1.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
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.2](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v2.1.1...eslint-config-base-v2.1.2) (2024-10-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * migrate to Linter.Config type ([#340](https://github.com/abinnovision/js-commons/issues/340)) ([30a1c19](https://github.com/abinnovision/js-commons/commit/30a1c19c3a2f4c2b94e6086486951145b399e15d))
9
+ * only support eslint v9 ([#345](https://github.com/abinnovision/js-commons/issues/345)) ([7425fdc](https://github.com/abinnovision/js-commons/commit/7425fdc9c2d8912988697ab07b9a8f42d96786d4))
10
+ * remove fixupPluginRules for eslint-plugin-import ([#346](https://github.com/abinnovision/js-commons/issues/346)) ([f964079](https://github.com/abinnovision/js-commons/commit/f9640791b8f811fb1bbe12b3544872ea25a77d16))
11
+ * use spaces for markdown files ([#349](https://github.com/abinnovision/js-commons/issues/349)) ([eeb8b33](https://github.com/abinnovision/js-commons/commit/eeb8b335916602b55ca02cfdea352bc296fa7ffb))
12
+
13
+ ## [2.1.1](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v2.1.0...eslint-config-base-v2.1.1) (2024-10-10)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **eslint-config:** add ignores to exclude build directories ([#329](https://github.com/abinnovision/js-commons/issues/329)) ([b6821d1](https://github.com/abinnovision/js-commons/commit/b6821d167217de9baa33475bc8fa90cb48bf5153))
19
+
3
20
  ## [2.1.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v2.0.0...eslint-config-base-v2.1.0) (2024-08-05)
4
21
 
5
22
 
package/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # @abinnovision/eslint-config-base
2
2
 
3
3
  Base ESLint config, which can be used with Javascript only if applied
4
- standalone.
5
- This config is based on
6
- the [AlloyTeam ESLint Config](https://github.com/AlloyTeam/eslint-config-alloy)
7
- with some additional goodies on top.
4
+ standalone. This config is based on the
5
+ [AlloyTeam ESLint Config](https://github.com/AlloyTeam/eslint-config-alloy) with
6
+ some additional goodies on top.
8
7
 
9
8
  ## Installation
10
9
 
package/dist/index.cjs CHANGED
@@ -33,7 +33,6 @@ __export(src_exports, {
33
33
  default: () => src_default
34
34
  });
35
35
  module.exports = __toCommonJS(src_exports);
36
- var import_compat = require("@eslint/compat");
37
36
  var import_base = __toESM(require("eslint-config-alloy/base.js"), 1);
38
37
  var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"), 1);
39
38
  var config = [
@@ -42,6 +41,7 @@ var config = [
42
41
  languageOptions: {
43
42
  ecmaVersion: "latest"
44
43
  },
44
+ ignores: [".next", "dist", ".wrangler", ".vercel", ".turbo", ".yarn"],
45
45
  plugins: {
46
46
  /**
47
47
  * eslint-plugin-import is not yet compatible with ESLint v9.
@@ -49,7 +49,7 @@ var config = [
49
49
  *
50
50
  * @see https://github.com/import-js/eslint-plugin-import/issues/2948
51
51
  */
52
- import: (0, import_compat.fixupPluginRules)(import_eslint_plugin_import.default)
52
+ import: import_eslint_plugin_import.default
53
53
  },
54
54
  rules: {
55
55
  /**
package/dist/index.d.cts CHANGED
@@ -1,10 +1,9 @@
1
- import * as eslint from 'eslint';
2
-
3
1
  declare const config: {
4
2
  files: string[];
5
3
  languageOptions: {
6
4
  ecmaVersion: "latest";
7
5
  };
6
+ ignores: string[];
8
7
  plugins: {
9
8
  /**
10
9
  * eslint-plugin-import is not yet compatible with ESLint v9.
@@ -12,7 +11,7 @@ declare const config: {
12
11
  *
13
12
  * @see https://github.com/import-js/eslint-plugin-import/issues/2948
14
13
  */
15
- import: eslint.ESLint.Plugin;
14
+ import: Plugin;
16
15
  };
17
16
  rules: {
18
17
  /**
package/dist/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- import * as eslint from 'eslint';
2
-
3
1
  declare const config: {
4
2
  files: string[];
5
3
  languageOptions: {
6
4
  ecmaVersion: "latest";
7
5
  };
6
+ ignores: string[];
8
7
  plugins: {
9
8
  /**
10
9
  * eslint-plugin-import is not yet compatible with ESLint v9.
@@ -12,7 +11,7 @@ declare const config: {
12
11
  *
13
12
  * @see https://github.com/import-js/eslint-plugin-import/issues/2948
14
13
  */
15
- import: eslint.ESLint.Plugin;
14
+ import: Plugin;
16
15
  };
17
16
  rules: {
18
17
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  // src/index.ts
2
- import { fixupPluginRules } from "@eslint/compat";
3
2
  import AlloyBase from "eslint-config-alloy/base.js";
4
3
  import eslintPluginImport from "eslint-plugin-import";
5
4
  var config = [
@@ -8,6 +7,7 @@ var config = [
8
7
  languageOptions: {
9
8
  ecmaVersion: "latest"
10
9
  },
10
+ ignores: [".next", "dist", ".wrangler", ".vercel", ".turbo", ".yarn"],
11
11
  plugins: {
12
12
  /**
13
13
  * eslint-plugin-import is not yet compatible with ESLint v9.
@@ -15,7 +15,7 @@ var config = [
15
15
  *
16
16
  * @see https://github.com/import-js/eslint-plugin-import/issues/2948
17
17
  */
18
- import: fixupPluginRules(eslintPluginImport)
18
+ import: eslintPluginImport
19
19
  },
20
20
  rules: {
21
21
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-base",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "url": "https://github.com/abinnovision/js-commons"
@@ -42,20 +42,18 @@
42
42
  },
43
43
  "prettier": "@abinnovision/prettier-config",
44
44
  "dependencies": {
45
- "@eslint/compat": "^1.1.1",
46
45
  "eslint-config-alloy": "^5.1.2",
47
- "eslint-plugin-import": "^2.29.1"
46
+ "eslint-plugin-import": "^2.31.0"
48
47
  },
49
48
  "devDependencies": {
50
- "@abinnovision/prettier-config": "^2.1.0",
51
- "@types/eslint": "^9.6.0",
52
- "eslint": "^9.8.0",
53
- "globals": "^15.9.0",
49
+ "@abinnovision/prettier-config": "^2.1.3",
50
+ "@types/eslint": "^9.6.1",
51
+ "eslint": "^9.12.0",
52
+ "globals": "^15.11.0",
54
53
  "prettier": "^3.3.3",
55
- "tsup": "^8.2.4"
54
+ "tsup": "^8.3.0"
56
55
  },
57
56
  "peerDependencies": {
58
- "eslint": "^8.24.0 || ^9.0.0"
59
- },
60
- "packageManager": "yarn@3.4.1"
57
+ "eslint": "^9.0.0"
58
+ }
61
59
  }