mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-27 05:30:14 +08:00
38 lines
782 B
JSON
Executable File
38 lines
782 B
JSON
Executable File
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": 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/*"
|
|
]
|
|
}
|