Skip to content

Commit 05fbcaf

Browse files
authored
Added js-styles/no-extra-semi to JS config
1 parent b1918a7 commit 05fbcaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default [
1616
'js-styles/max-len': ['error', { 'code': 120, // limit lines to 120 chars except if containing...
1717
'ignoreComments': true, 'ignoreStrings': true, // ...trailing/own-line comments, quoted strings...
1818
'ignoreTemplateLiterals': true, 'ignoreRegExpLiterals': true }], // ...or template/regex literals
19+
'js-styles/no-extra-semi': 'error', // disallow unnecessary semicolons
1920
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
2021
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
2122
'no-async-promise-executor': 'off', // allow promise executor functions to be async (to accomodate await lines)

0 commit comments

Comments
 (0)