eslintrc
696 Bytes
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"rules": {
"no-restricted-globals": "off",
"no-restricted-properties": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"globals": {
"window": true,
"document": true,
"App": true,
"Page": true,
"Component": true,
"Behavior": true,
"wx": true,
"getCurrentPages": true,
"getApp": true
}
}