opensphere-build-closure-helper
Version:
Helper functions for working with opensphere-build-resolver and the Google Closure Compiler
20 lines (19 loc) • 583 B
JavaScript
module.exports = {
"extends": "google",
"parserOptions": {
"ecmaVersion": 6
},
rules: {
// don't dangle commas
"comma-dangle": ["error", "never"],
// pre-ES6 engines need to be able to use objects as maps
"guard-for-in": "off",
// increase max line length
"max-len": ["error", { "code": 120 }],
// This is silly. Negated conditions are highly useful and often much more concise than
// their complements.
"no-negated-condition": "off",
// allow rejecting a promise without an error
"prefer-promise-reject-errors": "off"
}
};