mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
37 lines
760 B
JSON
37 lines
760 B
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"commonjs": true
|
||
|
},
|
||
|
"extends": [],
|
||
|
"globals": [
|
||
|
"$",
|
||
|
"$$",
|
||
|
"jQuery",
|
||
|
"Promise"
|
||
|
],
|
||
|
"rules": {
|
||
|
"no-with": "error",
|
||
|
"no-octal": "error",
|
||
|
"no-undef": "error",
|
||
|
"no-dupe-keys": "error",
|
||
|
"no-dupe-args": "error",
|
||
|
"no-delete-var": "error",
|
||
|
"no-unused-vars": "error",
|
||
|
"no-caller": "error",
|
||
|
"no-debugger": "error",
|
||
|
"no-unreachable": "error",
|
||
|
"no-inner-declarations": [
|
||
|
"error",
|
||
|
"functions"
|
||
|
]
|
||
|
},
|
||
|
"ignorePattern": [
|
||
|
"/fekit_modules/*",
|
||
|
"/node_modules/*",
|
||
|
"/bower_components/*",
|
||
|
"/dev/*",
|
||
|
"/prd/*"
|
||
|
]
|
||
|
}
|