Skip to content

Commit e0722b8

Browse files
sis0k0NathanWalker
authored andcommitted
chore: fix eslint configuration (#1)
1 parent 51c10d8 commit e0722b8

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
File renamed without changes.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.d.ts

.eslintrc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"ecmaVersion": 2015
6+
},
7+
"plugins": [
8+
"@nativescript",
9+
"@typescript-eslint"
10+
],
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended"
14+
],
15+
"rules": {
16+
"@nativescript/no-nativescript-angular-imports": "warn",
17+
"@nativescript/no-tns-core-modules-imports": "warn",
18+
"@nativescript/no-duplicate-ns-imports": "warn"
19+
}
20+
}

0 commit comments

Comments
 (0)