Skip to content

Commit 30fa586

Browse files
committed
Fix exported types
1 parent d169130 commit 30fa586

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

CHANGELOG.md

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

3+
## 0.8.1
4+
5+
- Fix unsaved maintainers.mjs change
6+
- Fix exported types
7+
38
## 0.8.0
49

510
- Update dependencies

index.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export const plugin = {
1919
},
2020
};
2121

22-
/** @type {import('eslint').Linter.Config} */
22+
/** @typedef {import('eslint').Linter.Config} Config */
23+
/** @type {[Config, Config, Config]} */
2324
export default [
2425
{
2526
...eslint.configs.recommended,

maintainers.mjs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ 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,
1919
},
2020
};
2121

22-
/** @type {import('eslint').Linter.Config} */
22+
/** @typedef {import('eslint').Linter.Config} Config */
23+
/** @type {[Config, Config, Config]} */
2324
export default [
2425
{
2526
...eslint.configs.recommended,
26-
plugins: {
27-
jest: jestPlugin,
28-
[plugin.meta.name]: plugin,
29-
},
3027
languageOptions: {
3128
parser: babelParser,
3229
parserOptions: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@exercism/eslint-config-javascript",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "ESLint configuration for the JavaScript track on Exercism",
55
"main": "index.mjs",
66
"scripts": {

0 commit comments

Comments
 (0)