mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
0ce286101c
MozReview-Commit-ID: HtUW43tCli1 --HG-- extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
20 lines
616 B
JavaScript
20 lines
616 B
JavaScript
"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" ]
|
|
},
|
|
};
|