93516a0b07
- the goal is to get overall cleaner test. - chai and sinon are standard libraries for testing assertions and spies. We should not use custom ones.
45 lines
842 B
Plaintext
45 lines
842 B
Plaintext
{
|
|
"extends": [
|
|
"../.eslintrc.js",
|
|
"plugin:es5/no-es2015"
|
|
],
|
|
"plugins": [
|
|
"es5"
|
|
],
|
|
"globals": {
|
|
"CompilerContext": true,
|
|
"Handlebars": true,
|
|
"handlebarsEnv": true,
|
|
"shouldCompileTo": true,
|
|
"shouldCompileToWithPartials": true,
|
|
"shouldThrow": true,
|
|
"expectTemplate": true,
|
|
"compileWithPartials": true,
|
|
"console": true,
|
|
"require": true,
|
|
"suite": true,
|
|
"equal": true,
|
|
"equals": true,
|
|
"test": true,
|
|
"testBoth": true,
|
|
"raises": true,
|
|
"deepEqual": true,
|
|
"start": true,
|
|
"stop": true,
|
|
"ok": 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"
|
|
}
|
|
} |