-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
running prettier in each app/package to respect individual prettierignore files
- Loading branch information
1 parent
63d8b06
commit 4b9a2e0
Showing
6 changed files
with
59 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module.exports = { | ||
root: true, | ||
// This tells ESLint to load the config from the package `eslint-config-custom` | ||
extends: ["custom"], | ||
settings: { | ||
next: { | ||
rootDir: ["apps/*/"], | ||
}, | ||
}, | ||
root: true, | ||
// This tells ESLint to load the config from the package `eslint-config-custom` | ||
extends: ["custom"], | ||
settings: { | ||
next: { | ||
rootDir: ["apps/*/"], | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"useTabs": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,17 @@ | |
"build": "turbo run build", | ||
"dev": "turbo run dev", | ||
"lint": "turbo run lint", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
"format:write": "turbo run format:write", | ||
"format:check": "turbo run format:check" | ||
}, | ||
"devDependencies": { | ||
"@turbo/gen": "^1.9.7", | ||
"eslint": "^7.32.0", | ||
"eslint-config-custom": "workspace:*", | ||
"next": "^13.4.1", | ||
"prettier": "^2.5.1", | ||
"prettier": "3.0.1 ", | ||
"turbo": "latest" | ||
}, | ||
"packageManager": "[email protected]", | ||
"name": "zothacks-site-2023" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"globalDependencies": ["**/.env.*local"], | ||
"globalDependencies": [ | ||
"**/.env.*local" | ||
], | ||
"pipeline": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": [".next/**", "!.next/cache/**"] | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
".next/**", | ||
"!.next/cache/**" | ||
] | ||
}, | ||
"lint": {}, | ||
"format:write": { | ||
"cache": false | ||
}, | ||
"format:check": {}, | ||
"dev": { | ||
"cache": false, | ||
"persistent": true | ||
} | ||
} | ||
} | ||
} |