Skip to content

Commit

Permalink
fix(eslint-config-base): allow triple slashes
Browse files Browse the repository at this point in the history
triple slashes are used in TypeScript declarations. The ESLint rule spaced-comment can interfere
with them, especially when using `--fix`.

fix #117
  • Loading branch information
Paul Marbach committed Jan 21, 2020
1 parent 7c994b6 commit 8ee981d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-base/es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ module.exports = {
'always',
{
exceptions: ['-', '+'],
markers: ['=', '!'], // space here to support sprockets directives
markers: ['=', '!', '/'], // space here to support sprockets directives
},
],
// require regex literals to be wrapped in parentheses
Expand Down

0 comments on commit 8ee981d

Please sign in to comment.