Skip to content

Commit bffa1cb

Browse files
committed
chore: eslint
1 parent 1fab926 commit bffa1cb

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"printWidth": 130,
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
@@ -20,7 +20,7 @@
2020
"clean.demo": "rimraf demo/hooks demo/node_modules demo/platforms",
2121
"clean": "rimraf plugin/ios plugin/android plugin/**/*.d.ts plugin/**/*.js plugin/**/*.js.map plugin/node_modules plugin/package-lock.json",
2222
"plugin.watch": "pnpm run tsc -- -w",
23-
"publish": "npm run setup && npm run build && lerna publish --create-release=github",
23+
"publish": "npm run setup && npm run build && lerna publish --create-release=github --force-publish",
2424
"test.android": "pnpm run build && cd ./demo && tns build android && tns test android --justlaunch",
2525
"test.ios": "pnpm run build && cd ./demo && tns build ios && tns test ios --justlaunch",
2626
"test.android.verbose": "pnpm run build && cd ./demo && tns build android && tns test android",
@@ -48,16 +48,19 @@
4848
"@commitlint/cli": "^9.1.2",
4949
"@commitlint/config-conventional": "^9.1.2",
5050
"@nano-sql/core": "^2.3.7",
51+
"@nativescript-community/typeorm": "0.2.28",
5152
"@nativescript/core": "7.0.0",
5253
"@nativescript/types-android": "7.0.2",
5354
"@nativescript/types-ios": "7.0.1",
5455
"@nativescript/webpack": "~3.0.1",
55-
"@nativescript-community/typeorm": "0.2.28",
5656
"@typescript-eslint/eslint-plugin": "4.0.1",
5757
"@typescript-eslint/parser": "4.0.1",
5858
"eslint": "7.8.1",
59+
"eslint-config-prettier": "^8.1.0",
60+
"eslint-plugin-prettier": "^3.3.1",
5961
"husky": "^4.2.5",
6062
"lerna": "^3.22.1",
63+
"prettier": "^2.2.1",
6164
"prompt": "^1.0.0",
6265
"rimraf": "^3.0.2",
6366
"semver": "^7.3.2",

tsconfig.eslint.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
3+
"extends": "./tsconfig.json",
4+
"include": ["**/*", ".eslintrc.js", "app.webpack.config.js"]
5+
}

0 commit comments

Comments
 (0)