@etchteam/eslint-config 1.1.0 → 1.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.
@@ -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,11 +1,8 @@
1
- ## [1.1.0](https://github.com/etchteam/eslint/compare/v1.0.3...v1.1.0) (2022-12-22)
2
-
3
-
4
- ### Features
5
-
6
- * move @/ alias to the parent group ([8ee69c4](https://github.com/etchteam/eslint/commit/8ee69c4b372c688628b9303adc2568a490ff6709))
1
+ ## [1.1.2](https://github.com/etchteam/eslint/compare/v1.1.1...v1.1.2) (2023-02-27)
7
2
 
8
3
 
9
4
  ### Bug Fixes
10
5
 
11
- * rename mergify file ([93e057c](https://github.com/etchteam/eslint/commit/93e057cfada3644c636719251ff22dde52ab6ca4))
6
+ * **[skip release]:** automatically approve security pull requests ([145a1ab](https://github.com/etchteam/eslint/commit/145a1abc2cdc6d8da7c8cf5ab5b73484141df21a))
7
+ * **[skip release]:** remove review requests, as we manually ask for them ([a272223](https://github.com/etchteam/eslint/commit/a2722237889c2fc1792d72978679cf905773eaca))
8
+ * use the correct syntax for prettier rules ([be6766c](https://github.com/etchteam/eslint/commit/be6766ca15d5f5264a860442206f2d5492226e32))
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install eslint prettier @etchteam/eslint-config
11
11
  ## Usage
12
12
 
13
13
  ```bash
14
- echo "module.exports = { extends: ['@etchteam'] }" > .eslintrc.js
14
+ echo "module.exports = { extends: ['@etchteam'] };" > .eslintrc.js
15
15
  ```
16
16
 
17
17
  ### With lint-staged
@@ -46,7 +46,7 @@ Run the following:
46
46
  ```bash
47
47
  mkdir .vscode
48
48
 
49
- echo "{ "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": true } }" > .vscode/settings.json
49
+ echo "{ \"editor.formatOnSave\": false, \"editor.codeActionsOnSave\": { \"source.fixAll.eslint\": true } }" > .vscode/settings.json
50
50
 
51
51
  # The VSCode prettier extension doesn't read the eslint config, so specific
52
52
  # prettier overrides need to go in a prettier config for format on save
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etchteam/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Etch's standard eslint config",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
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
  };