Skip to content

Commit 3753067

Browse files
committed
chore: eslint
1 parent 3e63d24 commit 3753067

File tree

7 files changed

+248
-109
lines changed

7 files changed

+248
-109
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/node_modules/**
2+
**/platforms/**

.prettierrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"printWidth": 130,
2+
"printWidth": 200,
33
"semi": true,
44
"tabWidth": 4,
5-
"singleQuote": true
5+
"singleQuote": true,
6+
"trailingComma": "none"
67
}

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"scripts": {
1515
"setup": "ts-patch install",
16+
"prepare": "npm run setup",
1617
"tsc": "cp src/index.d.ts plugin && tsc -skipLibCheck",
1718
"build": "cp README.md plugin && npm run tsc",
1819
"publish": "npm run setup && npm run build && lerna publish --create-release=github",
@@ -47,24 +48,26 @@
4748
"devDependencies": {
4849
"@commitlint/cli": "^9.1.2",
4950
"@commitlint/config-conventional": "^9.1.2",
51+
"@nativescript-community/ui-collectionview": "^3.0.5",
5052
"@nativescript/core": "7.0.0",
5153
"@nativescript/types-android": "7.0.2",
5254
"@nativescript/types-ios": "7.0.1",
5355
"@nativescript/webpack": "~3.0.2",
54-
"@nativescript-community/ui-collectionview": "^3.0.5",
5556
"@types/node": "^14.6.4",
5657
"@typescript-eslint/eslint-plugin": "4.0.1",
5758
"@typescript-eslint/parser": "4.0.1",
5859
"eslint": "7.8.1",
60+
"eslint-config-prettier": "^8.1.0",
61+
"eslint-plugin-prettier": "^3.3.1",
5962
"husky": "^4.2.5",
6063
"lerna": "^3.22.1",
6164
"npm-watch": "^0.7.0",
65+
"prettier": "^2.2.1",
6266
"prompt": "^1.0.0",
6367
"rimraf": "^3.0.2",
6468
"ts-patch": "1.3.0",
6569
"typescript": "~3.9.7"
6670
},
67-
"dependencies": {},
6871
"bootstrapper": "nativescript-plugin-seed",
6972
"commitlint": {
7073
"extends": [

0 commit comments

Comments
 (0)