Skip to content

Commit

Permalink
Split JS rules.quotes into 2 lines to not exceed 120 chars ↞ [auto-…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 28, 2025
1 parent 2a78d31 commit 68199ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chatgpt-auto-refresh/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default [
'ignoreComments': true, 'ignoreStrings': true, // ...trailing/own-line comments, quoted strings...
'ignoreTemplateLiterals': true, 'ignoreRegExpLiterals': true }], // ...or template/regex literals
'js-styles/no-extra-semi': 'error', // disallow unnecessary semicolons
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
'quotes': ['error', 'single', // enforce single quotes...
{ 'allowTemplateLiterals': true }], // ...except backticks to avoid escaping quotes
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
'no-async-promise-executor': 'off', // allow promise executor functions to be async (to accomodate await lines)
'no-constant-condition': 'off', // allow constant conditions
Expand Down

0 comments on commit 68199ea

Please sign in to comment.