@apolitical/eslint-config 0.0.1 → 1.0.2-beta.1

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 +14 -0
  2. package/README.md +30 -1
  3. package/package.json +17 -19
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.2] - 2022-01-31
9
+ ### Fixed
10
+ - Node.js version
11
+
12
+ ## [1.0.1] - 2022-01-20
13
+ ### Fixed
14
+ - Pipeline node version
15
+
16
+ ## [1.0.0] - 2022-01-17
17
+ ### Changed
18
+ - Updated Dependencies
19
+ - Upgraded Node.js version
20
+ - Revamped GitLab pipelines
21
+
8
22
  ## [0.0.1] - 2021-06-29
9
23
  ### Added
10
24
  - Initial setup
package/README.md CHANGED
@@ -1,3 +1,32 @@
1
1
  # Apolitical Eslint Config
2
2
 
3
- A node module for our code style
3
+ Apolitical ESLint configuration for Node.js projects (backend)
4
+
5
+ ## Requirements
6
+
7
+ Requires the following to run:
8
+
9
+ - [node.js][node] 16.13.2+
10
+ - [yarn][yarn]
11
+
12
+ [node]: https://nodejs.org/en/download/
13
+ [yarn]: https://classic.yarnpkg.com/en/docs/install
14
+
15
+ ## Installation
16
+
17
+ Install with `yarn`:
18
+
19
+ ```sh
20
+ yarn add -D @apolitical/eslint-config
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ Link the ESLint configurations from your `package.json`:
26
+
27
+ ```json
28
+ "eslintConfig": {
29
+ "extends": "@apolitical/eslint-config/base.config"
30
+ },
31
+ "prettier": "@apolitical/eslint-config/prettier.config",
32
+ ```
package/package.json CHANGED
@@ -1,43 +1,41 @@
1
1
  {
2
2
  "name": "@apolitical/eslint-config",
3
- "version": "0.0.1",
3
+ "version": "1.0.2-beta.1",
4
4
  "description": "Apolitical ESLint configuration for Node.js projects (backend)",
5
5
  "author": "Apolitical Group Limited <engineering@apolitical.co>",
6
- "contributors": [
7
- "Anouska Hopkins <anouska.hopkins@apolitical.co>",
8
- "Antonio Cordasco <antonio.cordasco@apolitical.co>",
9
- "Dorothy Yau <dorothy.yau@apolitical.co>",
10
- "Laura Hanna-White <laura.hanna-white@apolitical.co>",
11
- "Fatimat Gbajabiamila <fatimat.gbajabiamila@apolitical.co>",
12
- "Renzo Rozza <renzo.rozza@apolitical.co>",
13
- "Rihards Jukna <rihards.jukna@apolitical.co>"
14
- ],
15
6
  "license": "MIT",
16
7
  "main": "base.config.js",
17
8
  "files": [
18
9
  "base.config.js",
19
10
  "prettier.config.js"
20
11
  ],
12
+ "scripts": {
13
+ "test": "exit 0",
14
+ "integration-test": "exit 0",
15
+ "unit-test": "exit 0",
16
+ "lint": "exit 0",
17
+ "format": "exit 0"
18
+ },
21
19
  "keywords": [
22
20
  "ESLint",
23
21
  "Prettier",
24
22
  "Node Modules"
25
23
  ],
26
24
  "dependencies": {
27
- "eslint": "7.29.0",
25
+ "eslint": "8.7.0",
28
26
  "eslint-config-prettier": "8.3.0",
29
- "eslint-plugin-jest": "24.3.6",
30
- "eslint-plugin-prettier": "3.4.0",
31
- "prettier": "2.3.2"
27
+ "eslint-plugin-jest": "26.0.0",
28
+ "eslint-plugin-prettier": "4.0.0",
29
+ "prettier": "2.5.1"
32
30
  },
33
31
  "peerDependencies": {
34
- "eslint": "7.29.0",
32
+ "eslint": "8.7.0",
35
33
  "eslint-config-prettier": "8.3.0",
36
- "eslint-plugin-jest": "24.3.6",
37
- "eslint-plugin-prettier": "3.4.0",
38
- "prettier": "2.3.2"
34
+ "eslint-plugin-jest": "26.0.0",
35
+ "eslint-plugin-prettier": "4.0.0",
36
+ "prettier": "2.5.1"
39
37
  },
40
38
  "engines": {
41
- "node": ">=12.20.1"
39
+ "node": ">=16.13.0"
42
40
  }
43
41
  }