2017-12-07 08:52:17 +08:00
|
|
|
{
|
2017-12-30 02:27:45 +08:00
|
|
|
"env": {
|
|
|
|
"qunit": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"module": true,
|
|
|
|
"test": true,
|
|
|
|
"equal": true,
|
|
|
|
"ok": true,
|
|
|
|
"sinon": true,
|
|
|
|
"deepEqual": true
|
|
|
|
},
|
2017-12-07 08:52:17 +08:00
|
|
|
"extends": [
|
|
|
|
"plugin:qunit/recommended",
|
|
|
|
"plugin:qunit/two"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"qunit"
|
|
|
|
],
|
|
|
|
"rules": {
|
2017-12-30 02:27:45 +08:00
|
|
|
"func-names": "off",
|
|
|
|
"prefer-arrow-callback": "off",
|
2017-12-30 02:46:33 +08:00
|
|
|
"jest/no-identical-title": "off",
|
2017-12-07 08:52:17 +08:00
|
|
|
"qunit/no-global-assertions": "off",
|
|
|
|
"qunit/no-global-module-test": "off",
|
|
|
|
"qunit/require-expect": "off",
|
|
|
|
"qunit/no-assert-logical-expression": "error",
|
|
|
|
"qunit/no-commented-tests": "error",
|
|
|
|
"qunit/no-compare-relation-boolean": "error"
|
|
|
|
}
|
|
|
|
}
|