chore: combine prettier with eslint (#9348) (#9360)

Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
This commit is contained in:
Nathan Walker
2021-05-02 10:11:37 -07:00
committed by GitHub
parent a6cb46dac2
commit 0d4ccba60a
25 changed files with 14 additions and 38 deletions

View File

@@ -1,10 +1,14 @@
{
"extends": ["plugin:prettier/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaVersion": 2015
"parser": "@typescript-eslint/parser",
"project": "tsconfig.eslint.json",
"warnOnUnsupportedTypeScriptVersion": false
},
"plugins": ["@nativescript"],
"plugins": ["prettier", "@nativescript"],
"rules": {
"@nativescript/no-nativescript-angular-imports": "warn",
"@nativescript/no-tns-core-modules-imports": "warn",