mirror of
https://github.com/markedjs/marked
synced 2024-11-22 17:37:24 +00:00
34 lines
722 B
JSON
34 lines
722 B
JSON
|
{
|
||
|
"extends": "standard",
|
||
|
"plugins": [
|
||
|
"standard"
|
||
|
],
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 5,
|
||
|
"sourceType": "script"
|
||
|
},
|
||
|
"rules": {
|
||
|
"semi": ["error", "always"],
|
||
|
"indent": ["error", 2, {
|
||
|
"SwitchCase": 1,
|
||
|
"VariableDeclarator": { "var": 2 },
|
||
|
"outerIIFEBody": 0
|
||
|
}],
|
||
|
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
|
||
|
"space-before-function-paren": ["error", "never"],
|
||
|
"no-cond-assign": "off",
|
||
|
"no-useless-escape": "off",
|
||
|
"one-var": "off",
|
||
|
"no-control-regex": "off",
|
||
|
"no-prototype-builtins": "off",
|
||
|
|
||
|
"prefer-const": "off",
|
||
|
"no-var": "off"
|
||
|
},
|
||
|
"env": {
|
||
|
"node": true,
|
||
|
"browser": true,
|
||
|
"amd": true
|
||
|
}
|
||
|
}
|