forked from fanruan/fineui-custom-tutorials
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
863 B
36 lines
863 B
4 years ago
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"node": true,
|
||
|
"es6": true
|
||
|
},
|
||
|
"globals": {
|
||
|
"window": true,
|
||
|
"$": true,
|
||
|
"WebUI": true,
|
||
|
"BI": true,
|
||
|
"Data": true,
|
||
|
"Fix": true,
|
||
|
"module": true,
|
||
|
"Demo": true,
|
||
|
"_global": true
|
||
|
},
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": "./tsconfig.json",
|
||
|
"ecmaVersion": 6,
|
||
|
"sourceType": "module",
|
||
|
"ecmaFeatures": {
|
||
|
"modules": true
|
||
|
}
|
||
|
},
|
||
|
"plugins": ["@typescript-eslint/eslint-plugin"],
|
||
|
"overrides": [{
|
||
|
"files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js"],
|
||
|
"extends": "plugin:@fui/es5"
|
||
|
}, {
|
||
|
"files": ["webpack/*.js", "types/*.ts", "typescript/*.ts","typescript/**/*.ts", "./*.js", "lib/**/*.js", "lib/*.js"],
|
||
|
"extends": "plugin:@fui/typescript"
|
||
|
}]
|
||
|
}
|