e534a911f3
Prettier v2 has the following breaking changes: * enforces spaces between `function` and params * enforces trailing commas by default
38 lines
688 B
JavaScript
38 lines
688 B
JavaScript
module.exports = {
|
|
globals: {
|
|
CompilerContext: true,
|
|
Handlebars: true,
|
|
handlebarsEnv: true,
|
|
shouldCompileTo: true,
|
|
shouldCompileToWithPartials: true,
|
|
shouldThrow: true,
|
|
expectTemplate: true,
|
|
compileWithPartials: true,
|
|
suite: true,
|
|
equal: true,
|
|
equals: true,
|
|
test: true,
|
|
testBoth: true,
|
|
raises: true,
|
|
deepEqual: true,
|
|
start: true,
|
|
stop: true,
|
|
ok: true,
|
|
sinon: true,
|
|
strictEqual: true,
|
|
define: true,
|
|
expect: true,
|
|
chai: true,
|
|
},
|
|
env: {
|
|
mocha: true,
|
|
},
|
|
rules: {
|
|
// Disabling for tests, for now.
|
|
'no-path-concat': 'off',
|
|
|
|
'no-var': 'off',
|
|
'dot-notation': 'off',
|
|
},
|
|
};
|