Skip to content

Commit

Permalink
feat: allow quote escape
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Sep 30, 2023
1 parent c50a73a commit 8eb8efc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { warn } = require('console');
const fs = require('fs');
const path = require('path');

Expand All @@ -24,7 +23,7 @@ module.exports = {
rules: {
'indent': ['error', 2],
'semi': 'warn',
'quotes': ['error', 'single'],
'quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'accessor-pairs': 'error',
'array-callback-return': 'error',
'arrow-body-style': 'off',
Expand Down

0 comments on commit 8eb8efc

Please sign in to comment.