Skip to content

Commit

Permalink
fix: don't error on triple-slash comments
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Jul 9, 2020
1 parent e0193f0 commit 218be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports = {
quotes: ['error', prettierrc.singleQuote ? 'single' : 'double', { avoidEscape: true }], // So autofixes use the right quote style
radix: 'error',
'require-await': 'error',
'spaced-comment': 'error',
'spaced-comment': ['error', 'always', { line: { markers: ['/'] } }], // Don't error on TypeScript triple-slash comments
'sort-imports': 'off', // Conflicts with TypeScript and is not fully autofixable.
'use-isnan': 'error',
'valid-typeof': 'off',
Expand Down

0 comments on commit 218be5e

Please sign in to comment.