Skip to content

Commit 218be5e

Browse files
committed
fix: don't error on triple-slash comments
1 parent e0193f0 commit 218be5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
quotes: ['error', prettierrc.singleQuote ? 'single' : 'double', { avoidEscape: true }], // So autofixes use the right quote style
122122
radix: 'error',
123123
'require-await': 'error',
124-
'spaced-comment': 'error',
124+
'spaced-comment': ['error', 'always', { line: { markers: ['/'] } }], // Don't error on TypeScript triple-slash comments
125125
'sort-imports': 'off', // Conflicts with TypeScript and is not fully autofixable.
126126
'use-isnan': 'error',
127127
'valid-typeof': 'off',

0 commit comments

Comments
 (0)