.eslintrc.js 330 B

123456789101112131415161718
  1. "use strict";
  2. module.exports = {
  3. // When adding items to this file please check for effects on sub-directories.
  4. "plugins": [
  5. "mozilla"
  6. ],
  7. "rules": {
  8. "mozilla/import-globals": "warn",
  9. // No (!foo in bar) or (!object instanceof Class)
  10. "no-unsafe-negation": "error",
  11. },
  12. "env": {
  13. "es6": true
  14. },
  15. };