Skip to content

Commit

Permalink
Merge pull request #63 from nebur395/feature/upgrade-packages-to-node-20
Browse files Browse the repository at this point in the history
UPDATE node 20 and e15
  • Loading branch information
RecuencoJones authored Oct 18, 2024
2 parents 1c244c6 + 5fccebb commit e57f927
Show file tree
Hide file tree
Showing 59 changed files with 1,620 additions and 1,698 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
- run: |
npm install
npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
- env:
TAG: ${{ github.event.release.tag_name }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ This changelog is only to log changes of the project base.
If there are changes on the packages, please, check and update the changelog of each package accordingly.
-->

# 4.0.0

- Updated engine requirements to node 20 and npm 10.
- Updated ecmaVersion to 2024 or es15.
- Updated `eslint` to 9.
- Updated `eslint-plugin-node` to 17.

## 3.1.0

- Replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0.
Expand Down
24 changes: 24 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const compat = new FlatCompat({
baseDirectory: import.meta.dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: ["**/node_modules"],
}, ...compat.extends(
"./packages/eslint-config-adidas-es5/index.js",
"./packages/eslint-config-adidas-env/node.js",
), {
languageOptions: {
ecmaVersion: 2024,
sourceType: "script",
},

rules: {
"no-magic-numbers": "off",
},
}];
Loading

0 comments on commit e57f927

Please sign in to comment.