Skip to content

Commit

Permalink
do not require or insert prettier pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
daneryl committed Feb 7, 2020
1 parent b4ab90a commit 9f1f13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"plugins": ["react", "jasmine", "@typescript-eslint", "prettier"],

"rules": {
"prettier/prettier": ["error", { "requirePragma": true }],
"prettier/prettier": ["error", { "requirePragma": false }],
"indent": "off", // handled by prettier
"operator-linebreak": "off", // handled by prettier
"space-before-function-paren": "off", // handled by prettier
Expand Down
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
"htmlWhitespaceSensitivity": "css",
"useTabs": false,
"quoteProps": "as-needed",
"printWidth": 100,
"insertPragma": true
"printWidth": 100
}

0 comments on commit 9f1f13b

Please sign in to comment.