Skip to content

Commit 2f57187

Browse files
authored
chore: enable object-shorthand rule (#312)
1 parent 6d86c0c commit 2f57187

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default [
1212
{
1313
files: ['**/*.mjs'],
1414
rules: {
15+
'object-shorthand': 'error',
1516
'import-x/namespace': 'off',
1617
'import-x/no-named-as-default': 'off',
1718
'import-x/no-named-as-default-member': 'off',
@@ -39,7 +40,7 @@ export default [
3940
{
4041
files: ['src/**/*.mjs', 'bin/**/*.mjs'],
4142
plugins: {
42-
jsdoc: jsdoc,
43+
jsdoc,
4344
},
4445
languageOptions: {
4546
ecmaVersion: 'latest',

src/linter/reporters/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import console from './console.mjs';
44
import github from './github.mjs';
55

66
export default {
7-
console: console,
8-
github: github,
7+
console,
8+
github,
99
};

0 commit comments

Comments
 (0)