Skip to content

Commit

Permalink
chore(deps): update dependency eslint to v9 (#385)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency eslint to v9

* feat: node22 and new eslint config

Signed-off-by: Glenn <[email protected]>

---------

Signed-off-by: Glenn <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Glenn <[email protected]>
  • Loading branch information
renovate[bot] and promise authored Dec 10, 2024
1 parent 0ded1a4 commit 449f9a3
Show file tree
Hide file tree
Showing 12 changed files with 2,073 additions and 1,872 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": [
"github>promise/renovate-config:fully-automated-repository",
"github>promise/renovate-config:force-node-version(18)"
"github>promise/renovate-config:force-node-version(22)"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Set up node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Set up node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
Expand All @@ -42,11 +42,11 @@ jobs:
key: ${{ github.sha }}

- name: Fallback if build cache fails
run: npm run build
run: pnpm build
if: steps.cache-build.outputs.cache-hit != 'true'

- name: Recreate README
run: npm start
run: pnpm start
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20.5
22.12.0
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from "eslint-config-promise";
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@
"dotenv": "16.4.7"
},
"devDependencies": {
"@tsconfig/node18": "18.2.4",
"@tsconfig/node22": "22.0.0",
"@tsconfig/strictest": "2.0.5",
"@types/node": "18.19.67",
"eslint": "8.57.1",
"@types/node": "22.10.1",
"eslint": "9.16.0",
"eslint-config-promise": "github:promise/eslint-config",
"typescript": "5.7.2"
},
"eslintConfig": {
"extends": "promise",
"rules": {
"camelcase": "off"
}
}
"packageManager": "[email protected]"
}
Loading

0 comments on commit 449f9a3

Please sign in to comment.