Skip to content

Commit aa9a313

Browse files
chore(deps): update dependency eslint-rspack-plugin to v5 (#464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jiahan Chen <jait.chenjiahan@gmail.com>
1 parent 5270b7c commit aa9a313

4 files changed

Lines changed: 30 additions & 65 deletions

File tree

pnpm-lock.yaml

Lines changed: 17 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rspack/eslint/.eslintrc.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

rspack/eslint/eslint.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export default [
2+
{
3+
files: ['src/**/*.js'],
4+
languageOptions: {
5+
ecmaVersion: 'latest',
6+
sourceType: 'module',
7+
globals: {
8+
document: 'readonly',
9+
},
10+
},
11+
},
12+
];

rspack/eslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@rspack/core": "2.0.5",
1414
"@rspack/dev-server": "2.0.3",
1515
"eslint": "^9.39.4",
16-
"eslint-rspack-plugin": "^4.4.1"
16+
"eslint-rspack-plugin": "^5.0.1"
1717
}
1818
}

0 commit comments

Comments
 (0)