chore: cleanup lint and prettier config

This commit is contained in:
Nathan Walker
2021-05-05 15:59:06 -07:00
parent 9ec404225e
commit 868b4a47c6
2 changed files with 6 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"],