Skip to content

Commit

Permalink
Upgrade ESLint and test linting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiSG authored Nov 28, 2023
2 parents c6d1b7c + 5846a62 commit 1b696c2
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 51 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ jobs:
node-version: 20
- run: cd ./demo-declarations && npm install
- run: npm ci
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:lint
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:validate:schema
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## Unreleased [patch]

_Full changeset and discussions: [#1032](https://github.com/OpenTermsArchive/engine/pull/1032)._

> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
### Fixed

- Update ESLint to use the [stylistic](https://eslint.style/packages/js) plugin following [deprecation of formatting rules](https://eslint.org/blog/2023/10/deprecating-formatting-rules/), correcting a randomly-appearing `Configuration for rule "lines-between-class-members" is invalid` error

## 0.33.0 - 2023-11-27

Expand Down
135 changes: 87 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@accordproject/markdown-pdf": "^0.15.2",
"@opentermsarchive/fetch-charset-detection": "^1.0.1",
"@opentermsarchive/turndown": "^7.1.3",
"@stylistic/eslint-plugin-js": "^1.4.1",
"abort-controller": "^3.0.0",
"ajv": "^6.12.6",
"archiver": "^5.3.0",
Expand All @@ -64,10 +65,10 @@
"datauri": "^4.1.0",
"deep-diff": "^1.0.2",
"dotenv": "^10.0.0",
"eslint": "^8.2.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-json-format": "^2.0.1",
"express": "^4.18.2",
"fs-extra": "^10.0.0",
Expand Down

0 comments on commit 1b696c2

Please sign in to comment.