Skip to content

Commit 4ceb38a

Browse files
committed
chore: eslint fix
1 parent 79c2d1a commit 4ceb38a

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed

.ORIG-eslintrc.js renamed to .eslintrc.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ module.exports = {
33
plugins: ['prettier', '@typescript-eslint', '@nativescript'],
44
parser: '@typescript-eslint/parser',
55
parserOptions: {
6-
createDefaultProgram: true,
7-
project: './tsconfig.json'
6+
ecmaVersion: 2018,
7+
sourceType: 'module',
8+
parser: '@typescript-eslint/parser',
9+
project: 'tsconfig.eslint.json',
10+
warnOnUnsupportedTypeScriptVersion: false,
11+
tsconfigRootDir: __dirname,
812
},
913
rules: {
1014
'prettier/prettier': 'warn',

.eslintrc.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@nativescript-community/text": "^1.4.9",
6161
"@nativescript/angular": "ns8",
6262
"@nativescript/core": "8.0.0-alpha.8",
63-
"@nativescript/eslint-plugin": "0.0.1",
63+
"@nativescript/eslint-plugin": "0.0.4",
6464
"@nativescript/hook": "~2.0.0",
6565
"@nativescript/types": "7.3.0",
6666
"@nativescript/webpack": "~4.0.1",
@@ -95,4 +95,4 @@
9595
"dependencies": {
9696
"ts-node": "^8.10.2"
9797
}
98-
}
98+
}

0 commit comments

Comments
 (0)