Skip to content

Commit

Permalink
selective prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Oct 4, 2024
1 parent f9aa256 commit a63be49
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint pages components && tsc && prettier . --check",
"lint": "eslint pages components && tsc && prettier pages components --check",
"test": "echo 'No tests yet'",
"build": "next build",
"sitemap": "next-sitemap",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "echo 'No tests yet'",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router-mixed-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "playwright test",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "playwright test",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "pnpm run test:playwright:main && pnpm run test:playwright:locale-prefix-never && pnpm run test:playwright:trailing-slash && pnpm run test:jest",
"test:playwright:main": "TEST_MATCH=main.spec.ts playwright test",
"test:playwright:locale-prefix-never": "NEXT_PUBLIC_LOCALE_PREFIX=never pnpm build && TEST_MATCH=locale-prefix-never.spec.ts playwright test",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router-single-locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "playwright test",
"build": "next build",
"start": "next start"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "playwright test",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "pnpm run test:playwright && pnpm run test:jest",
"test:playwright": "playwright test",
"test:jest": "jest",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-pages-router-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "jest --config config/jest.json",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-pages-router-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && prettier . --check",
"lint": "eslint src && prettier src --check",
"build": "next build",
"start": "next start"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/example-pages-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"test": "echo 'No tests yet'",
"build": "next build",
"start": "next start"
Expand Down
2 changes: 1 addition & 1 deletion examples/example-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"lint": "eslint app && tsc && prettier . --check",
"lint": "eslint app && tsc && prettier app --check",
"start": "remix-serve ./build/index.js"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/example-use-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src && tsc && prettier . --check",
"lint": "eslint src && tsc && prettier src --check",
"preview": "vite preview"
},
"dependencies": {
Expand Down

0 comments on commit a63be49

Please sign in to comment.