Skip to content

Commit

Permalink
fixup! Style(exporter-variables-scss): Set quotes with better escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Sep 26, 2024
1 parent 9c7071e commit 8710afc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exporters/variables-scss/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ module.exports = {
rules: {
// Conflicting with the Prettier configuration fo the line length
// We are leaving this up to developer to decide where to use braces and where implicit return
// @link https://eslint.org/docs/latest/rules/arrow-body-style
// @see { @link https://eslint.org/docs/latest/rules/arrow-body-style }
'arrow-body-style': 'off',

// Better handling quotes with escaped strings inside
// Double and backticks quotes are allowed when needed
// @see { @link https://eslint.org/docs/latest/rules/quotes }
quotes: ['warn', 'single', { avoidEscape: true }],
},
};

0 comments on commit 8710afc

Please sign in to comment.