Skip to content

Commit

Permalink
Merge pull request #341 from javierbrea/release-eslint-v9
Browse files Browse the repository at this point in the history
Eslint v9 support
  • Loading branch information
javierbrea authored Nov 5, 2024
2 parents 4e1f23e + fdea746 commit e0ac567
Show file tree
Hide file tree
Showing 15 changed files with 1,282 additions and 2,832 deletions.
32 changes: 5 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- master
- release
- pre-release
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -14,26 +13,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18.20.2", "20.13.1", "22.2.0"]
node: ["18.20.3", "20.13.1", "22.2.0"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache npm
uses: actions/cache@v4
env:
cache-name: cache-npm
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
Expand All @@ -50,25 +38,15 @@ jobs:
runs-on: windows-2022
strategy:
matrix:
node: ["18.20.2", "20.13.1", "22.2.0"]
node: ["18.20.3", "20.13.1", "22.2.0"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache npm
uses: actions/cache@v4
env:
cache-name: cache-windows-npm
with:
path: ~\AppData\Roaming\npm-cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
cache: "npm"
- name: Install dependencies
run: npm ci --ignore-scripts
env:
Expand All @@ -86,7 +64,7 @@ jobs:
- name: Download test results
uses: actions/download-artifact@v4
with:
name: coverage-18.20.2
name: coverage-18.20.3
path: coverage
- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint-staged
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
### Removed
### BREAKING CHANGES

## [5.0.0] - 2024-11-05

### Changed

- feat([#329](https://github.com/javierbrea/eslint-plugin-boundaries/issues/329)): Modify dependencies, tests and docs to support eslint v9
- chore([#338](https://github.com/javierbrea/eslint-plugin-boundaries/issues/338)): Bump micromatch dependency to 4.0.8
- docs: Clarify include/exclude precedence in docs ([@robw-mercury](https://github.com/robw-mercury))

## [5.0.0-beta.1] - 2024-07-07

### Changed
- chore: Add changes from release [4.2.2](#4-2-2)

## [4.2.2] - 2024-07-07

### Changed
Expand All @@ -25,6 +38,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- chore(devDependencies): Bumb prettier to 3.3.2
- chore(devDependencies): Bump EndBug/version-check action to v2.1.4

## [5.0.0-beta.0] - 2024-06-17

### Changed
- feat: Modify dependencies and tests to support eslint v9
- feat: Remove `plugins` property from preset configurations, given that eslint v9 does not support defining plugins by using strings in the configuration. Added example to the main readme file to show how the plugin and predefined configurations should be used now.
- chore: Migrate self eslint configuration to v9 format.

### Removed
- chore: Drop support for Node.js versions lower than 18.18


## [4.2.1] - 2024-05-16

### Changed
Expand Down
Loading

0 comments on commit e0ac567

Please sign in to comment.