Skip to content

Commit d169130

Browse files
committed
Reconfigure plugin array
1 parent adc3a82 commit d169130

File tree

4 files changed

+133
-129
lines changed

4 files changed

+133
-129
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.8.0
4+
5+
- Update dependencies
6+
- Use pnpm 9.15.2
7+
- Remove `plugin` from plugins, and export separately
8+
39
## 0.7.1
410

511
- Update dependencies

index.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const pkg = JSON.parse(
1212
);
1313

1414
/** @type {import('eslint').ESLint.Plugin} */
15-
const plugin = {
15+
export const plugin = {
1616
meta: {
1717
name: pkg.name + '/maintainers',
1818
version: pkg.version,
@@ -23,10 +23,6 @@ const plugin = {
2323
export default [
2424
{
2525
...eslint.configs.recommended,
26-
plugins: {
27-
jest: jestPlugin,
28-
[plugin.meta.name]: plugin,
29-
},
3026
languageOptions: {
3127
parser: babelParser,
3228
parserOptions: {

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@exercism/eslint-config-javascript",
3-
"version": "0.7.1",
3+
"version": "0.8.0",
44
"description": "ESLint configuration for the JavaScript track on Exercism",
55
"main": "index.mjs",
66
"scripts": {
@@ -10,20 +10,20 @@
1010
"license": "MIT",
1111
"peerDependencies": {
1212
"@exercism/babel-preset-javascript": ">= 0.5.1",
13-
"eslint": ">= 9.12"
13+
"eslint": ">= 9.17"
1414
},
1515
"devDependencies": {
1616
"@exercism/babel-preset-javascript": "^0.5.1",
17-
"eslint": "^9.12.0",
18-
"prettier": "^3.3.3"
17+
"eslint": "^9.17.0",
18+
"prettier": "^3.4.2"
1919
},
2020
"dependencies": {
21-
"@babel/eslint-parser": "^7.25.8",
22-
"@babel/eslint-plugin": "^7.25.7",
23-
"@eslint/js": "^9.12.0",
21+
"@babel/eslint-parser": "^7.25.9",
22+
"@babel/eslint-plugin": "^7.25.9",
23+
"@eslint/js": "^9.17.0",
2424
"eslint-config-prettier": "^9.1.0",
25-
"eslint-plugin-jest": "^28.8.3",
26-
"globals": "^15.11.0"
25+
"eslint-plugin-jest": "^28.10.0",
26+
"globals": "^15.14.0"
2727
},
28-
"packageManager": "pnpm@9.12.2"
28+
"packageManager": "pnpm@9.15.2"
2929
}

0 commit comments

Comments
 (0)