Skip to content

Commit

Permalink
Merge pull request #308 from nugit/develop
Browse files Browse the repository at this point in the history
28 May 2024 Release
  • Loading branch information
limtingzhi authored May 28, 2024
2 parents 0d4e6b4 + 63f6dd6 commit c3f5904
Show file tree
Hide file tree
Showing 20 changed files with 9,137 additions and 6,784 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
needs: auto-merge
if: contains(github.head_ref, 'dependabot')
steps:
- uses: hmarr/auto-approve-action@v3
- uses: hmarr/auto-approve-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/deploy-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
git config user.email [email protected]
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
cache: 'npm'
- run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > .npmrc
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run lint
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if [[ -n $HUSKY_BYPASS ]]; then
echo "Husky bypassed"
exit 0;
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# [4.0.0-beta.2](https://github.com/nugit/eslint-config-nugit/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2024-05-28)


### Bug Fixes

* fix eslint environment ([1cd30e4](https://github.com/nugit/eslint-config-nugit/commit/1cd30e46b284fb898e7c939d64d6a2c5ebe637a1))

# [4.0.0-beta.1](https://github.com/nugit/eslint-config-nugit/compare/v3.0.0...v4.0.0-beta.1) (2024-05-27)


### Bug Fixes

* fix security vulnerabilities ([6004ee7](https://github.com/nugit/eslint-config-nugit/commit/6004ee7bc0ebbe08f533dc47af7a407dc3327717))


* feat!: upgrade minimum NodeJS version to 20.13 ([00566af](https://github.com/nugit/eslint-config-nugit/commit/00566afe46a3ca57153fe97b292a3f4f087216eb))


### Features

* update [@commitlint](https://github.com/commitlint) dependencies ([22a2668](https://github.com/nugit/eslint-config-nugit/commit/22a26688241ab2001cc416b7b629388cfbcd49fc))
* update husky ([e4eac44](https://github.com/nugit/eslint-config-nugit/commit/e4eac44b0402ff9da77d302d6e22e32d08203ded))
* update minor dependencies ([7951525](https://github.com/nugit/eslint-config-nugit/commit/79515255ca8a79c0b8ac22c34f325c11b883dd66))
* update semantic-release dependencies ([842dc0d](https://github.com/nugit/eslint-config-nugit/commit/842dc0d65d22723d566795b25b30dc56a7addc48))


### BREAKING CHANGES

* minimum NodeJS version is 20.13

# [3.0.0](https://github.com/nugit/eslint-config-nugit/compare/v2.0.3...v3.0.0) (2024-05-27)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This package provides Nugit's JS .eslintrc as an extensible shared config.
npm i eslint-config-nugit --save-dev
```

> NOTE: NPM 8 is required otherwise you'll need to manually install peerDependencies. Peer dependencies change won't be considered as breaking change anymore.
> NOTE: NPM 10 is required otherwise you'll need to manually install peerDependencies. Peer dependencies change won't be considered as breaking change anymore.
## Usage

Expand Down
2 changes: 2 additions & 0 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
sourceType: 'module',
},
env: {
'es2023': true,
'shared-node-browser': true,
},
rules: {},
Expand All @@ -25,6 +26,7 @@ module.exports = {
'**/*{.,_}{test,spec,stories,bench,fixture}.{js,jsx}', // tests where the extension or filename suffix denotes that it is a test
],
env: {
'es2023': true,
'jest': true,
'shared-node-browser': true,
},
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
].map(require.resolve),
env: {
'browser': true,
'es2023': true,
'shared-node-browser': true,
},
rules: {},
Expand Down
Loading

0 comments on commit c3f5904

Please sign in to comment.