summaryrefslogtreecommitdiffstats
path: root/comm/.eslintignore
diff options
context:
space:
mode:
Diffstat (limited to 'comm/.eslintignore')
-rw-r--r--comm/.eslintignore66
1 files changed, 66 insertions, 0 deletions
diff --git a/comm/.eslintignore b/comm/.eslintignore
new file mode 100644
index 0000000000..1508dd0bfd
--- /dev/null
+++ b/comm/.eslintignore
@@ -0,0 +1,66 @@
+# Please DO NOT add more third party files to this file.
+# They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
+#
+# Please also DO NOT add generated files that are for some reason checked
+# into source - add them to tools/rewriting/Generated.txt instead.
+
+# This file should only be used for exclusions where we have:
+# - preprocessed files
+# - intentionally invalid files
+# - build directories and other items that we need to ignore
+
+# Temporarily disabled, see bug 1605845
+*.xhtml
+
+# Always ignore node_modules.
+**/node_modules/**/*.*
+
+# lint eslint config files which are excluded by default
+!**/.eslintrc.js
+
+# For now, skip all json files for ESLint, these will still be run through
+# Prettier.
+**/*.json
+
+# Exclude expected objdirs.
+obj*/**
+
+# Exclude mozilla directory, this one is checked separately
+mozilla/**
+
+# These directories don't contain any js and are not meant to
+config/**
+other-licenses/**
+testing/**
+
+# We ignore all these directories by default, until we get them enabled.
+# If you are enabling a directory, please add directory specific exclusions
+# below.
+build/**
+suite/**
+
+# calendar/ exclusions
+calendar/base/calendar.js
+
+# chat exclusions
+chat/chat-prefs.js
+# preprocessed files
+chat/content/imtooltip.xml
+
+# mailnews exclusions
+mailnews/mailnews.js
+mailnews/extensions/mdn/mdn.js
+
+# mail exclusions
+mail/app/profile/all-thunderbird.js
+mail/app/profile/channel-prefs.js
+mail/branding/nightly/pref/thunderbird-branding.js
+mail/branding/thunderbird/pref/thunderbird-branding.js
+# This file is split into two in order to keep it as a valid json file
+# for documentation purposes (policies.json) but to be accessed by the
+# code as a JS module (schema.sys.mjs)
+mail/components/enterprisepolicies/schemas/schema.sys.mjs
+mail/components/im/all-im.js
+mail/extensions/am-e2e/prefs/e2e-prefs.js
+mail/locales/en-US/all-l10n.js
+mail/components/compose/composer.js