diff --git a/.eslintrc.js b/.eslintrc.js index d775aa9de4..594cbc46e5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -49,7 +49,6 @@ module.exports = { }, ignoreEOLComments: true, }], - "prettier/prettier": "off", "semi-spacing": ["error", {"before": false, "after": true}], "space-in-parens": ["error", "never"], diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000000..2debd16fa3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,21 @@ +# This list automatically picks up exclusions from .eslintignore + +# These files are disabled due to parsing errors when using Prettier. +# Bug 1560186 +*.html +*.xhtml +*.xul +*.xml + +# Ignore .eslintrc.js for now. +.eslintrc.js + +# Ignore all top-level directories that contain JS files (for now). +calendar/** +chat/** +common/** +editor/** +ldap/** +mail/** +mailnews/** +suite/**