Skip to content

Commit

Permalink
Merge pull request #39988 from ShridharGoel/eslint_dots
Browse files Browse the repository at this point in the history
[NoQA] Use periods at the end of error messages with ESLint check
  • Loading branch information
grgia authored Apr 30, 2024
2 parents d299b32 + 748a529 commit e1e77ba
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 196 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ module.exports = {
},
},
],
'rulesdir/avoid-anonymous-functions': 'off',
},
},
// This helps disable the `prefer-alias` rule to be enabled for specific directories
Expand Down Expand Up @@ -276,5 +277,11 @@ module.exports = {
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
},
},
{
files: ['en.ts', 'es.ts'],
rules: {
'rulesdir/use-periods-for-error-messages': 'error',
},
},
],
};
Loading

0 comments on commit e1e77ba

Please sign in to comment.