Forked from
The Tor Project / Applications / Tor Browser
428750 commits behind the upstream repository.
-
Mark Banner authored
Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop MozReview-Commit-ID: HtUW43tCli1 --HG-- extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
Mark Banner authoredBug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop MozReview-Commit-ID: HtUW43tCli1 --HG-- extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
.eslintrc.js 616 B
"use strict";
module.exports = {
// New rules and configurations should generally be added in
// tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
// allow external repositories that use the plugin to pick them up as well.
"extends": [
"plugin:mozilla/recommended"
],
"plugins": [
"mozilla"
],
// The html plugin is enabled via a command line option on eslint. To avoid
// bad interactions with the xml preprocessor in eslint-plugin-mozilla, we
// turn off processing of the html plugin for .xml files.
"settings": {
"html/xml-extensions": [ ".xhtml" ]
},
};