Skip to content

Commit 77095d4

Browse files
committed
Split JS rules.quotes into 2 lines to not exceed 120 chars ↞ [auto-sync from https://github.com/adamlui/autoclear-chatgpt-history]
1 parent dbf56f4 commit 77095d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoclear-chatgpt-history/eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export default [
2626
'ignoreComments': true, 'ignoreStrings': true, // ...trailing/own-line comments, quoted strings...
2727
'ignoreTemplateLiterals': true, 'ignoreRegExpLiterals': true }], // ...or template/regex literals
2828
'js-styles/no-extra-semi': 'error', // disallow unnecessary semicolons
29-
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
29+
'quotes': ['error', 'single', // enforce single quotes...
30+
{ 'allowTemplateLiterals': true }], // ...except backticks to avoid escaping quotes
3031
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
3132
'no-constant-condition': 'off', // allow constant conditions
3233
'no-empty': 'off', // allow empty blocks

0 commit comments

Comments
 (0)