Skip to content

Commit 7295c55

Browse files
committed
Change '@stylistic/comma-dangle' to 'never'.
**BREAKING**: Change `'@stylistic/comma-dangle'` to `'never'` from `'only-multiline'`. Changed to enforce a more uniform style. Override locally if it causes issues.
1 parent 9adf016 commit 7295c55

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
how best to adapt to the new style.
1212
- **BREAKING**: Set `ecmaVersion` to `latest`. Override in project config if a
1313
specific version limitation is required.
14+
- **BREAKING**: Change `'@stylistic/comma-dangle'` to `'never'` from
15+
`'only-multiline'`. Changed to enforce a more uniform style. Override locally
16+
if it causes issues.
1417

1518
### Migration
1619
- ESLint v9 is a major breaking change and will require manual updates.

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default [
1010
globals: {
1111
...globals.node
1212
}
13-
},
13+
}
1414
},
1515
{
1616
...digitalbazaarImport,

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default [
2525
}],
2626
yoda: 'error',
2727
// deprecated in v8.46.0
28-
'no-return-await': 'error',
28+
'no-return-await': 'error'
2929
}
3030
},
3131
{
@@ -39,7 +39,7 @@ export default [
3939
'@stylistic/arrow-spacing': 'error',
4040
'@stylistic/block-spacing': ['error', 'never'],
4141
'@stylistic/brace-style': ['error', '1tbs'],
42-
'@stylistic/comma-dangle': ['error', 'only-multiline'],
42+
'@stylistic/comma-dangle': ['error', 'never'],
4343
'@stylistic/comma-spacing': 'error',
4444
'@stylistic/eol-last': 'error',
4545
'@stylistic/key-spacing': ['error', {
@@ -64,7 +64,7 @@ export default [
6464
'@stylistic/max-len': ['error', {
6565
code: 80,
6666
ignorePattern: '\\* SPDX-License-Identifier: ',
67-
ignoreUrls: true,
67+
ignoreUrls: true
6868
//ignoreRegExpLiterals: true
6969
}],
7070
'@stylistic/no-extra-semi': 'error',

jsdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default [
2626
'jsdoc/require-returns-check': 0,
2727
'jsdoc/require-returns-description': 1,
2828
'jsdoc/require-returns-type': 1,
29-
'jsdoc/valid-types': 1,
29+
'jsdoc/valid-types': 1
3030
}
3131
}
3232
];

0 commit comments

Comments
 (0)