@abinnovision/eslint-config-base 1.1.0 → 1.2.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -10
  2. package/README.md +2 -3
  3. package/package.json +35 -6
package/CHANGELOG.md CHANGED
@@ -1,35 +1,42 @@
1
1
  # Changelog
2
2
 
3
- ## [1.1.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.2...eslint-config-base-v1.1.0) (2023-04-21)
3
+ ## [1.2.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.1.0...eslint-config-base-v1.2.0) (2023-10-28)
4
4
 
5
5
 
6
6
  ### Features
7
7
 
8
- * first implementation ([470e5d5](https://github.com/abinnovision/js-commons/commit/470e5d591bd711b5d793037c946bf56883d5acf3))
8
+ * update eslint-config-alloy to v5.0.0 ([6acd7da](https://github.com/abinnovision/js-commons/commit/6acd7dacca62218dc3b72611dae6b0154ba16388))
9
9
 
10
10
 
11
11
  ### Bug Fixes
12
12
 
13
- * add correct license to all packages ([af7343d](https://github.com/abinnovision/js-commons/commit/af7343dbdb93329a0321a369f81e9b37da9068fa))
14
- * emit declarations ([616f817](https://github.com/abinnovision/js-commons/commit/616f817ca7701e160325e1e81d633df345244cc3))
13
+ * align peer dependency versions ([#88](https://github.com/abinnovision/js-commons/issues/88)) ([62e752d](https://github.com/abinnovision/js-commons/commit/62e752d625fd3f454a50c58119f52fa4bbba297d))
15
14
 
16
- ## [1.0.2](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.1...eslint-config-base-v1.0.2) (2023-04-21)
15
+ ## [1.1.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.2...eslint-config-base-v1.1.0) (2023-04-21)
17
16
 
17
+ ### Features
18
+
19
+ - first implementation ([470e5d5](https://github.com/abinnovision/js-commons/commit/470e5d591bd711b5d793037c946bf56883d5acf3))
18
20
 
19
21
  ### Bug Fixes
20
22
 
21
- * emit declarations ([616f817](https://github.com/abinnovision/js-commons/commit/616f817ca7701e160325e1e81d633df345244cc3))
23
+ - add correct license to all packages ([af7343d](https://github.com/abinnovision/js-commons/commit/af7343dbdb93329a0321a369f81e9b37da9068fa))
24
+ - emit declarations ([616f817](https://github.com/abinnovision/js-commons/commit/616f817ca7701e160325e1e81d633df345244cc3))
22
25
 
23
- ## [1.0.1](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.0...eslint-config-base-v1.0.1) (2023-04-21)
26
+ ## [1.0.2](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.1...eslint-config-base-v1.0.2) (2023-04-21)
27
+
28
+ ### Bug Fixes
24
29
 
30
+ - emit declarations ([616f817](https://github.com/abinnovision/js-commons/commit/616f817ca7701e160325e1e81d633df345244cc3))
31
+
32
+ ## [1.0.1](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v1.0.0...eslint-config-base-v1.0.1) (2023-04-21)
25
33
 
26
34
  ### Bug Fixes
27
35
 
28
- * add correct license to all packages ([af7343d](https://github.com/abinnovision/js-commons/commit/af7343dbdb93329a0321a369f81e9b37da9068fa))
36
+ - add correct license to all packages ([af7343d](https://github.com/abinnovision/js-commons/commit/af7343dbdb93329a0321a369f81e9b37da9068fa))
29
37
 
30
38
  ## 1.0.0 (2023-02-23)
31
39
 
32
-
33
40
  ### Features
34
41
 
35
- * first implementation ([470e5d5](https://github.com/abinnovision/eslint-config/commit/470e5d591bd711b5d793037c946bf56883d5acf3))
42
+ - first implementation ([470e5d5](https://github.com/abinnovision/eslint-config/commit/470e5d591bd711b5d793037c946bf56883d5acf3))
package/README.md CHANGED
@@ -19,6 +19,5 @@ yarn add --dev \
19
19
 
20
20
  This config requires the following dependencies (defined as peer dependencies):
21
21
 
22
- * [eslint](https://www.npmjs.com/package/eslint)
23
- * [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)
24
-
22
+ - [eslint](https://www.npmjs.com/package/eslint)
23
+ - [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-base",
3
3
  "packageManager": "yarn@3.4.1",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -17,18 +17,47 @@
17
17
  "dist/"
18
18
  ],
19
19
  "scripts": {
20
- "build": "tsc"
20
+ "build": "tsc",
21
+ "lint:check": "eslint 'src/**/*.{ts,js}'",
22
+ "lint:fix": "eslint --fix 'src/**/*.{ts,js}'",
23
+ "format:check": "prettier --check 'src/**/*.{ts,js}' '**/*.{md,json,json5,yaml,yml}'",
24
+ "format:fix": "prettier --write 'src/**/*.{ts,js}' '**/*.{md,json,json5,yaml,yml}'"
21
25
  },
22
26
  "dependencies": {
23
- "eslint-config-alloy": "^4.9.0"
27
+ "eslint-config-alloy": "^5.1.2"
24
28
  },
25
29
  "devDependencies": {
30
+ "@abinnovision/eslint-config-typescript": "^1.2.0",
31
+ "@abinnovision/prettier-config": "^1.1.0",
26
32
  "@types/eslint": "^8.21.1",
27
- "@types/node": "^18.14.1",
28
- "typescript": "^5.0.2"
33
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
34
+ "@typescript-eslint/parser": "^6.9.0",
35
+ "eslint": "^8.52.0",
36
+ "eslint-plugin-import": "^2.29.0",
37
+ "prettier": "^3.0.3",
38
+ "typescript": "^5.2.2"
39
+ },
40
+ "eslintConfig": {
41
+ "extends": [
42
+ "./dist/index.js",
43
+ "@abinnovision/eslint-config-typescript"
44
+ ],
45
+ "parserOptions": {
46
+ "project": "./tsconfig.json"
47
+ }
29
48
  },
30
49
  "peerDependencies": {
31
- "eslint": "^8.0.0",
50
+ "eslint": "^8.24.0",
32
51
  "eslint-plugin-import": "^2.0.0"
52
+ },
53
+ "prettier": "@abinnovision/prettier-config",
54
+ "lint-staged": {
55
+ "src/**/*.{ts,js}": [
56
+ "prettier --write",
57
+ "eslint --fix"
58
+ ],
59
+ "**/*.{md,json,json5,yaml,yml}": [
60
+ "prettier --write"
61
+ ]
33
62
  }
34
63
  }