@etchteam/eslint-config 1.1.1 → 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.
@@ -7,6 +7,9 @@ pull_request_rules:
7
7
  - check-success~=^security/snyk
8
8
  - label!=wontfix
9
9
  actions:
10
+ review:
11
+ type: APPROVE
12
+ message: Automatically approving dependabot
10
13
  merge:
11
14
  method: merge
12
15
  - name: Merge Snyk PRs when all checks pass
@@ -18,6 +21,9 @@ pull_request_rules:
18
21
  - check-success=SonarCloud Code Analysis
19
22
  - label!=wontfix
20
23
  actions:
24
+ review:
25
+ type: APPROVE
26
+ message: Automatically approving snyk
21
27
  merge:
22
28
  method: merge
23
29
  - name: Merge when all checks pass and the PR has been approved
@@ -30,16 +36,3 @@ pull_request_rules:
30
36
  actions:
31
37
  merge:
32
38
  method: merge
33
- - name: Ask for reviews
34
- conditions:
35
- - -closed
36
- - -draft
37
- actions:
38
- request_reviews:
39
- users:
40
- - JoshTheWanderer
41
- - DanWebb
42
- - gavmck
43
- - ella-etch
44
- - Carl-J-M
45
- random_count: 2
package/CHANGELOG.md CHANGED
@@ -1,7 +1,6 @@
1
- ## [1.1.1](https://github.com/etchteam/eslint/compare/v1.1.0...v1.1.1) (2023-01-24)
1
+ ## [1.2.0](https://github.com/etchteam/eslint/compare/v1.1.2...v1.2.0) (2023-06-13)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * **docs:** append semi-colon to so that it automatically passes validation ([466b357](https://github.com/etchteam/eslint/commit/466b35744fab08ab4973ed5bd95cde18456df6a3))
7
- * **docs:** escape quotes so that we generate a valid json document ([a5e4de4](https://github.com/etchteam/eslint/commit/a5e4de412b2bc7dbbdb0b10282da46f9989a90d8))
6
+ * upgrade eslint-config-next to support app router ([62dd0ba](https://github.com/etchteam/eslint/commit/62dd0baac88990990fb8c2312b42b8d353576e6f))
package/README.md CHANGED
@@ -5,7 +5,7 @@ The eslint config that we use at [Etch](https://etch.co)
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install eslint prettier @etchteam/eslint-config
8
+ npm i -D eslint prettier @etchteam/eslint-config
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -21,7 +21,7 @@ echo "module.exports = { extends: ['@etchteam'] };" > .eslintrc.js
21
21
  Run the following:
22
22
 
23
23
  ```bash
24
- npm install husky lint-staged
24
+ npm i -D husky lint-staged
25
25
 
26
26
  echo "module.exports = { '*.{ts,tsx,js,jsx}': 'eslint --fix' };" > lint-staged.config.js
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etchteam/eslint-config",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Etch's standard eslint config",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  "@typescript-eslint/eslint-plugin": "^5.46.1",
34
34
  "@typescript-eslint/parser": "^5.46.1",
35
35
  "eslint": "^8.29.0",
36
- "eslint-config-next": "^13.0.7",
36
+ "eslint-config-next": "^13.4.5",
37
37
  "eslint-config-prettier": "^8.5.0",
38
38
  "eslint-plugin-import": "^2.26.0",
39
39
  "eslint-plugin-prettier": "^4.2.1",
package/src/index.js CHANGED
@@ -25,14 +25,17 @@ module.exports = {
25
25
  group: 'parent'
26
26
  }]
27
27
  }],
28
+ 'prettier/prettier': [
29
+ 'error',
30
+ {
31
+ 'singleQuote': true,
32
+ }
33
+ ]
28
34
  },
29
35
  settings: {
30
36
  'import/resolver': {
31
37
  typescript: true,
32
38
  node: true
33
- },
34
- 'prettier/prettier': {
35
- singleQuote: true,
36
- },
39
+ }
37
40
  }
38
41
  };