mirror of
https://github.com/markedjs/marked
synced 2024-11-23 01:38:57 +00:00
29 lines
641 B
JSON
29 lines
641 B
JSON
{
|
|
"extends": "standard",
|
|
"plugins": [
|
|
"standard"
|
|
],
|
|
"parserOptions": { "ecmaVersion": 5 },
|
|
"rules": {
|
|
"semi": ["error", "always"],
|
|
"indent": ["warn", 2, {
|
|
"VariableDeclarator": { "var": 2 },
|
|
"SwitchCase": 1,
|
|
"outerIIFEBody": 0
|
|
}],
|
|
"space-before-function-paren": "off",
|
|
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
|
|
"no-cond-assign": "off",
|
|
"no-useless-escape": "off",
|
|
"no-return-assign": "off",
|
|
"one-var": "off",
|
|
"no-control-regex": "off"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"browser": true,
|
|
"amd": true,
|
|
"jasmine": true
|
|
}
|
|
}
|