mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
* UPDATE .eslintrc * UPDATE lint task * FIX lint errors * CLEANUP * FIX no-eq-null warning * FIX many jsdoc warnings * FIX jsdoc issues * FIX jsdoc warnings * FIX jsdoc * FIX eqeq and no-eq-null * ADD lint to travis * UPDATE test env for eslint
34 lines
692 B
Plaintext
34 lines
692 B
Plaintext
{
|
|
"extends": "xo-space/browser",
|
|
"rules": {
|
|
"semi": [
|
|
2,
|
|
"never"
|
|
],
|
|
"no-return-assign": "off",
|
|
"no-unused-expressions": "off",
|
|
"no-new-func": "off",
|
|
"no-multi-assign": "off",
|
|
"no-mixed-operators": "off",
|
|
"max-params": "off",
|
|
"no-script-url": "off",
|
|
"camelcase": "off",
|
|
"object-curly-spacing": "off",
|
|
"no-warning-comments": "off",
|
|
"no-negated-condition": "off",
|
|
"eqeqeq": "warn",
|
|
"no-eq-null": "warn",
|
|
"max-statements-per-line": "warn"
|
|
},
|
|
"globals": {
|
|
"Docsify": true,
|
|
"$docsify": true,
|
|
"process": true
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"amd": true,
|
|
"node": true,
|
|
"jest": true
|
|
}
|
|
} |