Bug 1577606 - Turn on Prettier but ignore all directories. r=darktrojan

This commit is contained in:
Paul Morris 2019-08-12 13:53:43 -04:00
Родитель f41d685212
Коммит 9bcc5607c2
2 изменённых файлов: 21 добавлений и 1 удалений

Просмотреть файл

@ -49,7 +49,6 @@ module.exports = {
},
ignoreEOLComments: true,
}],
"prettier/prettier": "off",
"semi-spacing": ["error", {"before": false, "after": true}],
"space-in-parens": ["error", "never"],

21
.prettierignore Normal file
Просмотреть файл

@ -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/**