@abinnovision/eslint-config-base 2.1.1 → 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 +10 -0
- package/README.md +3 -4
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -2
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
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
|
+
|
|
3
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)
|
|
4
14
|
|
|
5
15
|
|
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
|
-
|
|
6
|
-
|
|
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 = [
|
|
@@ -50,7 +49,7 @@ var config = [
|
|
|
50
49
|
*
|
|
51
50
|
* @see https://github.com/import-js/eslint-plugin-import/issues/2948
|
|
52
51
|
*/
|
|
53
|
-
import:
|
|
52
|
+
import: import_eslint_plugin_import.default
|
|
54
53
|
},
|
|
55
54
|
rules: {
|
|
56
55
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as eslint from 'eslint';
|
|
2
|
-
|
|
3
1
|
declare const config: {
|
|
4
2
|
files: string[];
|
|
5
3
|
languageOptions: {
|
|
@@ -13,7 +11,7 @@ declare const config: {
|
|
|
13
11
|
*
|
|
14
12
|
* @see https://github.com/import-js/eslint-plugin-import/issues/2948
|
|
15
13
|
*/
|
|
16
|
-
import:
|
|
14
|
+
import: Plugin;
|
|
17
15
|
};
|
|
18
16
|
rules: {
|
|
19
17
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as eslint from 'eslint';
|
|
2
|
-
|
|
3
1
|
declare const config: {
|
|
4
2
|
files: string[];
|
|
5
3
|
languageOptions: {
|
|
@@ -13,7 +11,7 @@ declare const config: {
|
|
|
13
11
|
*
|
|
14
12
|
* @see https://github.com/import-js/eslint-plugin-import/issues/2948
|
|
15
13
|
*/
|
|
16
|
-
import:
|
|
14
|
+
import: Plugin;
|
|
17
15
|
};
|
|
18
16
|
rules: {
|
|
19
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 = [
|
|
@@ -16,7 +15,7 @@ var config = [
|
|
|
16
15
|
*
|
|
17
16
|
* @see https://github.com/import-js/eslint-plugin-import/issues/2948
|
|
18
17
|
*/
|
|
19
|
-
import:
|
|
18
|
+
import: eslintPluginImport
|
|
20
19
|
},
|
|
21
20
|
rules: {
|
|
22
21
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abinnovision/eslint-config-base",
|
|
3
|
-
"version": "2.1.
|
|
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.2.0",
|
|
46
45
|
"eslint-config-alloy": "^5.1.2",
|
|
47
|
-
"eslint-plugin-import": "^2.
|
|
46
|
+
"eslint-plugin-import": "^2.31.0"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
|
-
"@abinnovision/prettier-config": "^2.1.
|
|
49
|
+
"@abinnovision/prettier-config": "^2.1.3",
|
|
51
50
|
"@types/eslint": "^9.6.1",
|
|
52
|
-
"eslint": "^9.
|
|
53
|
-
"globals": "^15.
|
|
51
|
+
"eslint": "^9.12.0",
|
|
52
|
+
"globals": "^15.11.0",
|
|
54
53
|
"prettier": "^3.3.3",
|
|
55
54
|
"tsup": "^8.3.0"
|
|
56
55
|
},
|
|
57
56
|
"peerDependencies": {
|
|
58
|
-
"eslint": "^
|
|
59
|
-
}
|
|
60
|
-
"packageManager": "yarn@3.4.1"
|
|
57
|
+
"eslint": "^9.0.0"
|
|
58
|
+
}
|
|
61
59
|
}
|