@adobe/eslint-config-helix 1.1.2 → 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.
- package/.github/workflows/semantic-release.yaml +22 -0
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/index.js +6 -3
- package/package.json +9 -9
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Semantic Release
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- 'main'
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v2
|
|
13
|
+
- name: Use Node.js 14.x
|
|
14
|
+
uses: actions/setup-node@v2
|
|
15
|
+
with:
|
|
16
|
+
node-version: '14.x'
|
|
17
|
+
- run: npm install
|
|
18
|
+
- run: npm test
|
|
19
|
+
- run: npm run semantic-release
|
|
20
|
+
env:
|
|
21
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# [1.2.0](https://github.com/adobe/helix-eslint-config/compare/v1.1.5...v1.2.0) (2021-10-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* support es2020 / ES11 ([#108](https://github.com/adobe/helix-eslint-config/issues/108)) ([108c8f9](https://github.com/adobe/helix-eslint-config/commit/108c8f951a248cd2411c529c1f38f132601d1eae))
|
|
7
|
+
|
|
8
|
+
## [1.1.5](https://github.com/adobe/helix-eslint-config/compare/v1.1.4...v1.1.5) (2021-05-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* ignore extension rules of updated plugin-import ([04ad78d](https://github.com/adobe/helix-eslint-config/commit/04ad78daae0586a0afd964cf0aec01bdbf999d05))
|
|
14
|
+
|
|
15
|
+
## [1.1.4](https://github.com/adobe/helix-eslint-config/compare/v1.1.3...v1.1.4) (2021-02-23)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **template:** update to 2021 ([7d4ec42](https://github.com/adobe/helix-eslint-config/commit/7d4ec42d6dcd391403623d1d4c6dab9dc3920634))
|
|
21
|
+
|
|
22
|
+
## [1.1.3](https://github.com/adobe/helix-eslint-config/compare/v1.1.2...v1.1.3) (2020-06-16)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **deps:** update external ([#39](https://github.com/adobe/helix-eslint-config/issues/39)) ([da709aa](https://github.com/adobe/helix-eslint-config/commit/da709aa6a2c02e000f89cc7b12e4b822710dbd19))
|
|
28
|
+
|
|
1
29
|
## [1.1.2](https://github.com/adobe/helix-eslint-config/compare/v1.1.1...v1.1.2) (2020-06-15)
|
|
2
30
|
|
|
3
31
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Eslint config used in helix projects.
|
|
|
6
6
|
## Status
|
|
7
7
|
|
|
8
8
|
[](https://circleci.com/gh/adobe/helix-eslint-config)
|
|
9
|
-
[](https://github.com/adobe/helix-eslint-config/blob/
|
|
9
|
+
[](https://github.com/adobe/helix-eslint-config/blob/main/LICENSE.txt)
|
|
10
10
|
[](https://github.com/adobe/helix-eslint-config/issues)
|
|
11
11
|
|
|
12
12
|
## Development
|
package/index.js
CHANGED
|
@@ -16,11 +16,11 @@ module.exports = {
|
|
|
16
16
|
|
|
17
17
|
env: {
|
|
18
18
|
node: true,
|
|
19
|
-
|
|
19
|
+
es2020: true,
|
|
20
20
|
},
|
|
21
21
|
parserOptions: {
|
|
22
22
|
sourceType: 'script',
|
|
23
|
-
ecmaVersion:
|
|
23
|
+
ecmaVersion: 11,
|
|
24
24
|
},
|
|
25
25
|
plugins: [
|
|
26
26
|
'header',
|
|
@@ -58,9 +58,12 @@ module.exports = {
|
|
|
58
58
|
allow: ['_'],
|
|
59
59
|
}],
|
|
60
60
|
|
|
61
|
+
// don't enforce extension rules
|
|
62
|
+
'import/extensions': 0,
|
|
63
|
+
|
|
61
64
|
// enforce license header
|
|
62
65
|
'header/header': [2, 'block', ['',
|
|
63
|
-
{ pattern: ' * Copyright \\d{4} Adobe\\. All rights reserved\\.', template: ' * Copyright
|
|
66
|
+
{ pattern: ' * Copyright \\d{4} Adobe\\. All rights reserved\\.', template: ' * Copyright 2021 Adobe. All rights reserved.' },
|
|
64
67
|
' * This file is licensed to you under the Apache License, Version 2.0 (the "License");',
|
|
65
68
|
' * you may not use this file except in compliance with the License. You may obtain a copy',
|
|
66
69
|
' * of the License at http://www.apache.org/licenses/LICENSE-2.0',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/eslint-config-helix",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Helix's ESLint config, based on Airbnb's style guide",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/adobe/helix-eslint-config#readme",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"eslint-config-airbnb-base": "14.1
|
|
27
|
+
"eslint-config-airbnb-base": "14.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@semantic-release/changelog": "
|
|
31
|
-
"@semantic-release/git": "
|
|
32
|
-
"@semantic-release/github": "
|
|
33
|
-
"eslint": "7.
|
|
34
|
-
"eslint-plugin-header": "3.
|
|
35
|
-
"eslint-plugin-import": "2.
|
|
36
|
-
"semantic-release": "
|
|
30
|
+
"@semantic-release/changelog": "6.0.0",
|
|
31
|
+
"@semantic-release/git": "10.0.0",
|
|
32
|
+
"@semantic-release/github": "8.0.1",
|
|
33
|
+
"eslint": "7.32.0",
|
|
34
|
+
"eslint-plugin-header": "3.1.1",
|
|
35
|
+
"eslint-plugin-import": "2.24.2",
|
|
36
|
+
"semantic-release": "18.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"eslint": "^6.1.0 || ^7.0.0",
|