Skip to content

Commit

Permalink
Add a root prettierconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 5, 2024
1 parent 021c6b9 commit 31938d6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[alias]
c = commit -am
fpush = push --force
tpush = push # typo: leftover t from git
s = status
ts = status # I do the `gi ts` typo all the time
sclone = clone --depth=1
Expand Down
11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// https://prettier.io/docs/en/options.html

// If you change anything here, you probably have to reload vscode windows to pick it up.
module.exports = {
printWidth: 110,
tabWidth: 2,
singleQuote: true,
trailingComma: 'es5',
bracketSpacing: false,
arrowParens: 'avoid',
};
6 changes: 5 additions & 1 deletion fish/chromium.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function deps --description "run gclient sync"
# --reset drops local changes. often great, but if making changes inside v8, you don't want to use --reset
# also reset seems to reset branch position in the devtools-internal repo??? weird.
gclient sync --delete_unversioned_trees --jobs=70 --verbose
gclient sync --delete_unversioned_trees --jobs=70 --verbose --nohooks
end

function depsbg --description "run gclient sync in the background"
Expand All @@ -13,6 +13,10 @@ function hooks --description "run gclient runhooks"
gclient runhooks
end

function depshooks
deps && hooks
end

function b --description "build chromium"

ulimit -n 200000 # b/294987716
Expand Down

0 comments on commit 31938d6

Please sign in to comment.