mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup lint and prettier config
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"extends": ["plugin:prettier/recommended"],
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018,
|
||||
"sourceType": "module",
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"project": "tsconfig.eslint.json",
|
||||
"warnOnUnsupportedTypeScriptVersion": false
|
||||
"project": "tsconfig.eslint.json"
|
||||
},
|
||||
"plugins": ["prettier", "@nativescript"],
|
||||
"plugins": ["@nativescript", "prettier"],
|
||||
"extends": ["plugin:@nativescript/recommended", "prettier"],
|
||||
"rules": {
|
||||
"prettier/prettier": 2,
|
||||
"@nativescript/no-nativescript-angular-imports": "warn",
|
||||
"@nativescript/no-tns-core-modules-imports": "warn",
|
||||
"@nativescript/no-duplicate-ns-imports": "warn"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "../../.eslintrc.json",
|
||||
"rules": {},
|
||||
"ignorePatterns": ["!**/*", "**/node_modules/**/*", "**/__tests__/**/*"],
|
||||
"ignorePatterns": ["!**/*", "**/global-types.d.ts", "**/node_modules/**/*", "**/__tests__/**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
||||
|
||||
Reference in New Issue
Block a user