Skip to content

Commit

Permalink
style(lint): remote eslint quotes rules so prettier wins
Browse files Browse the repository at this point in the history
prettier allows double-quotes on strings if you have a single-quote *in*
the string that you would need to escape. It's subtle, but prettier

eslint was trying to overrule that, so there was a linting battle

this lets prettier win
  • Loading branch information
mikehardy authored and LunatiqueCoder committed Dec 6, 2021
1 parent 7fc34f3 commit b390fec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion template/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = {
rules: {
'@typescript-eslint/no-var-requires': 'off',
'linebreak-style': ['error', 'unix'], // https://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
quotes: ['error', 'single'],
semi: ['error', 'always'],
'prettier/prettier': 'error',
'react/display-name': 'off',
Expand Down

0 comments on commit b390fec

Please sign in to comment.