.eslintrc
author Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>
Wed, 21 Sep 2016 08:49:46 -0400
changeset 314828 e1d144423657aa6b1def32f6f0c6825d8741a429
parent 284366 ee408fd749cecb3eb67f11587ecb61a7025d559b
permissions -rw-r--r--
Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal This also adds E402 (no imports at top of file) to the global ignore list. The other error codes added were previously ignored by default, but now that we have started a custom ignore list, need to be listed explicitly. MozReview-Commit-ID: RtMuVEX6i5

{
  // When adding items to this file please check for effects on sub-directories.
  "plugins": [
    "mozilla"
  ],
  "rules": {
    "mozilla/import-globals": 1,
  },
  "env": {
    "es6": true
  },
}