Skip to content

Commit

Permalink
feat(eslint-plugin-experience): add spaced-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Nov 18, 2023
1 parent fa515d8 commit 11b5574
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions projects/eslint-plugin-experience/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,13 @@ module.exports = {
'sonar/for-in': 'error',
'sonarjs/no-identical-functions': 'error',
'sonarjs/no-inverted-boolean-check': 'error',
'spaced-comment': ['error', 'always', {exceptions: ['*']}],
'spaced-comment': [
'error',
'always',
{
markers: ['/'],
},
],
'unicorn/escape-case': 'error',
'unicorn/filename-case': [
'error',
Expand Down Expand Up @@ -814,7 +820,6 @@ module.exports = {
'@html-eslint/require-meta-viewport': 'error',
'@html-eslint/require-title': 'error',
'eslint-comments/disable-enable-pair': 'off',
'spaced-comment': 'off',
},
},
{
Expand Down Expand Up @@ -910,7 +915,6 @@ module.exports = {
'sonarjs/max-switch-cases': 'off',
'sonarjs/no-duplicate-string': 'off',
'sonarjs/no-nested-template-literals': 'off',
'spaced-comment': 'off',
},
},
],
Expand Down

0 comments on commit 11b5574

Please sign in to comment.