Skip to content

Commit

Permalink
fix(scripts): postinstall prettierignore to skip platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Mar 10, 2019
1 parent 0c0408c commit 26121ad
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,14 @@ export async function fixFormatter() {
export async function makePrettierIgnore() {
const prettierIgnorePath = path.join(process.cwd(), '/../..', '.prettierignore');

const prettierIgnore = `**/*.d.ts
apps/**/platforms/{android,ios}/**/*
const prettierIgnore = `.DS_Store
**/*.d.ts
**/apps/**/platforms/**/*
**/App_Resources/**/*
apps/nativescript-*/tools/**/*
**/apps/nativescript-*/hooks/**/*
**/apps/nativescript-*/tools/**/*
**/apps/nativescript-*/app/assets/*.min.css
**/xplat/nativescript/plugins/**/*
**/webpack.config.js
**/package.json
**/package-lock.json
Expand Down

0 comments on commit 26121ad

Please sign in to comment.