Skip to content

Commit

Permalink
Merge pull request #367 from jeffijoe/chore/upgrade-packages
Browse files Browse the repository at this point in the history
Upgrade packages + migrate to ESLint 9 + drop Node 14 support
  • Loading branch information
jeffijoe authored Aug 26, 2024
2 parents 65b4d42 + 7da5e5b commit 3a29ad6
Show file tree
Hide file tree
Showing 15 changed files with 3,387 additions and 2,840 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
fail-fast: true
matrix:
version:
- 14
- 16
- 18
- 20
- 22
- current
steps:
- name: Checkout
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v11.0.0

- **BREAKING**: Drop Node 14 support, add Node 22 to build matrix.
- Migrate to ESLint v9
- Upgrade packages

### BREAKING CHANGES

#### Drop Node 14 support

Node 14 is no longer officially supported, as it is not an active LTS anymore.

# v10.0.2

- Add back `createBuildResolver` and `createDisposableResolver` exports ([#358](https://github.com/jeffijoe/awilix/pull/358))
Expand Down
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import js from '@eslint/js'
import ts from 'typescript-eslint'

export default [
js.configs.recommended,
...ts.configs.recommended,
{
languageOptions: {
ecmaVersion: 5,
sourceType: 'script',

parserOptions: {
project: true,
tsconfigRootDir: './',
},
},

rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
{
files: ['**/__tests__/*.test.ts'],

rules: {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},
]
Loading

0 comments on commit 3a29ad6

Please sign in to comment.