mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["**/*"],
|
|
"plugins": ["@typescript-eslint", "@nrwl/nx"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"prettier/@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-parameter-properties": "off",
|
|
"@nrwl/nx/enforce-module-boundaries": [
|
|
"error",
|
|
{
|
|
"enforceBuildableLibDependency": true,
|
|
"allow": [],
|
|
"depConstraints": [
|
|
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.tsx"],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-any": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|