Commit graph

140 commits

Author SHA1 Message Date
renovate[bot]
e9e5363eb7 CI(deps): Update actions/checkout digest to 11bd719
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 09:54:03 +00:00
renovate[bot]
72e2bed8be CI(deps): Update dependency @revi/eslint-config to v0.0.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 06:16:33 +00:00
renovate[bot]
cd7edf89a7 CI(deps): Update linters to v9.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 01:00:36 +00:00
renovate[bot]
fe181f16e1 CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-16 06:52:12 +00:00
renovate[bot]
0c43c7d446 CI(deps): Update linters to v9.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 13:34:42 +00:00
renovate[bot]
c5fccdcaab CI(deps): Update actions/checkout digest to eef6144
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 10:23:43 +00:00
renovate[bot]
7f98519f7a CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 06:20:37 +00:00
renovate[bot]
c027c03f4d CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 09:51:39 +00:00
renovate[bot]
0542dc4926 CI(deps): Update dependency @revi/eslint-config to v0.0.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 18:20:10 +00:00
renovate[bot]
8c27ce2013 CI(deps): Update npm patch upgrades to v9.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 06:21:23 +00:00
renovate[bot]
f5c3ab3c93 CI(deps): Update dependency @revi/eslint-config to v0.0.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 18:51:47 +00:00
renovate[bot]
20a52b14a5 CI(deps): Update linters to v9.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 22:52:44 +00:00
renovate[bot]
ef7e2bf356 CI(deps): Update dependency @revi/eslint-config to v0.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 10:00:57 +00:00
renovate[bot]
a74fe9d53c CI(deps): Update linters to v9.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 18:02:36 +00:00
renovate[bot]
e1a2abee1c CI(deps): Update dependency @revi/eslint-config to v0.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 19:00:08 +00:00
renovate[bot]
23cb30797d CI(deps): Update npm patch upgrades to v9.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 06:36:59 +00:00
renovate[bot]
d9d061c661 CI(deps): Update linters to v9.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-13 06:33:20 +00:00
renovate[bot]
c15e1354d5 CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 22:48:41 +00:00
renovate[bot]
c70d383c72 CI(deps): Update linters to v9.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 06:13:33 +00:00
renovate[bot]
c7adf934a9 CI(deps): Update linters to v9.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 18:37:06 +00:00
renovate[bot]
48021affb6 CI(deps): Update dependency prettier to v3.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 18:35:36 +00:00
renovate[bot]
3cc99def8c CI(deps): Update dependency @revi/eslint-config to v0.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-06 22:30:00 +00:00
renovate[bot]
8e3b48ce93 CI(deps): Update dependency @revi/prettier-config to v0.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-04 18:28:59 +00:00
d598fc68c0
windows: terminal settings / windows settings to dedicated dir
Summary:
Dump as of 2024-07-04T00:16:00+0900.

Also move the win32 settings to dedicated directory.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: try copypasting?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #windows

Differential Revision: https://issuetracker.revi.xyz/D510
2024-07-04 00:19:59 +09:00
renovate[bot]
f938eb5b1e CI(deps): Update dependency @revi/eslint-config to v0.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 22:14:36 +00:00
renovate[bot]
357da33cef CI(deps): Update linters to v9.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 08:06:03 +00:00
renovate[bot]
827dfb31f4 CI(deps): Pin dependencies
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 06:07:01 +00:00
renovate[bot]
071a6260a9 CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 02:22:43 +00:00
6dc8e7f79f
CI(renovate): add
Summary:
Also do prettier checks.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Wait for initial renovate run.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #renovate

Differential Revision: https://issuetracker.revi.xyz/D492
2024-07-02 11:17:02 +09:00
1c7c4c1376
CI(npm): Pin npm versions
Summary:
Ref T176.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Maniphest Tasks: T176

Differential Revision: https://issuetracker.revi.xyz/D402
2024-06-22 18:25:00 +09:00
c8968ca421
vscode: settings (not the .vscode/)
Summary:
There's `settings sync` native stuff but for visual reference.

Also update `.gitattributes` and `.arclint` to ignore jsonc.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Verify this is the same settings as vscode user settings.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D381
2024-06-22 18:10:12 +09:00
2d59c7825c
meta: add npmrc
Summary:
Enforce `--audit=false` and `--fund=false`.

Ref D375.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Run `npm ci` and see if audit/funding messages appear.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D386
2024-06-22 18:10:10 +09:00
317043c6a7
CODEOWNERS: no tab
Summary:
Just use space.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Verify GitHub handles this well.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D382
2024-06-22 18:10:08 +09:00
c679fa5aef
(deploy|phab-upgrade).sh: #!/usr/bin/env bash
Summary:
[Per wooledge BashGuide](https://mywiki.wooledge.org/BashGuide/CommandsAndArguments#Scripts).

Also set `chmod +x phab-upgrade.sh`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: run it?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D364
2024-06-19 14:40:55 +09:00
fed68e7597
gitconfig: more aliases and small config tweak
Summary:
- `fpush` `--force-with-lease` for safer `--force`
- Quick upstream sync with `gon` (main) or `gor` (master)
- `spop` for `stash pop`
- `sshow` for `show --show-signature`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: try the commands.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D354
2024-06-18 17:42:24 +09:00
a7cd00f7a6
windows: scoop/winget exports
Summary:
For future imports.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `scoop import` and `winget import`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D353
2024-06-18 17:42:22 +09:00
0833c791ac
CI(GitHub Actions): add jsonlint, fix yamllint name
Summary:
Add JSONLint (not the jsonlint npm package) for json linting.
Also fix yamllint to correct job name and add `.vscode` stuff.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Just land it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D336
2024-06-16 17:41:33 +09:00
f85a6a2b90
CI(.arclint): use pinterest-linters
Summary:
Thanks pinterest!

Also:
- fix yamllint and update .gitattributes, and make deploy.sh executable by `chmod +x`.
- install linting npm packages.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D326
2024-06-16 17:31:04 +09:00
94d38f2ab6
meta: .gitattributes
Summary:
Correct GitHub linguist language detections

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: deploy and wait for GitHub to update language syntax highlight.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D250
2024-06-11 18:53:41 +09:00
c98952d447
CI(arclint): fix jshint/json
Summary:
 - jshint: config @ `.jshint.json`
 - json: track sublime-settings
 - remove jsonlint (see {D214})
 - `npm install --save-dev jshint`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:c .`, 'arc lint`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D231
2024-06-10 03:30:49 +09:00
5e2a2c7516
gitconfig: add some extra rules
Summary:
From https://github.com/simnalamburt/.dotfiles/blob/main/.gitconfig

Apache-2.0 license used.

Also:

 - fix `npm run` command
 - fix incorrect `.gitconfig` rule.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Not really as well.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D225
2024-06-09 21:30:25 +09:00
b0ae699487
gitattributes/arclint: add
Summary:
Mostly from rWEBXYZ. Added to `.gitconfig` via `core.attributesFile`.

Also: add some arclint

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Not really.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D224
2024-06-09 21:30:23 +09:00
9b0fbcc55d
npx prettier --write .
Summary:
Also:

- add prettier config and prettierignore
- add quick `npm run` alias.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run pcheck`, `npm run pwrite`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D212
2024-06-08 16:38:14 +09:00
d5b6e05a86
gitalias: add more rules
Summary:
 - add !command in correct sections to prevent mistakes
 - alphabetize
 - `diffs` for `diff --staged`
 - `prod` to quick deploy to `prod` branch for some repos.
 - `staash` for `stash -a`

also:
 - add `max_line_length: 80` to editorconfig
 - autofix `TXT1` rule for `.arclint`
 - `rerere.autoUpdate = tru` for `gitconfig`
 - add prettier
 - fix nfty.yml
 - add `.yamllint` config

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: I think there isn't?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D211
2024-06-08 16:31:19 +09:00
da1e5b8acb
git configs: update
Summary:
- remove redundant `.gitmodule`. No more submodules.
- replace tabs with space as space is the majority here.
- spacing issues @ `.arcconfig`.
- sync `.arclint`.
- alphabetize configs.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: deploy and test?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D171
2024-05-28 21:24:16 +09:00
47afc240b6
Revert "gitconfig: git config --global format.signOff true"
Summary:
This reverts commit 761a5d6c1f.

Was not the thing I was expecting.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: N/A

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D118
2024-05-21 15:49:40 +09:00
882d54328a
gitalias: count = git count-objects -vH
Summary:
mostly for reference purposes...

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `git count`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D120
2024-05-21 15:49:38 +09:00
aba4d83c39 deploy.sh: implement todo
Summary:
albeit incomplete in `ash`, who cares? ™️

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `sh deploy.sh`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D117
2024-05-21 02:22:21 +09:00
e839c265f8
gitconfig: git config --global rerere.enabled true
Summary:
Ref [pro git](https://git-scm.com/book/en/v2/Distributed-Git-Maintaining-a-Project).

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `git rerere` with forced merge conflict?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D99
2024-05-19 15:10:31 +09:00
761a5d6c1f
gitconfig: git config --global format.signOff true
Summary:
Ref [man git config](https://git-scm.com/docs/git-config#Documentation/git-config.txt-formatsignOff).

Also disables aliases with `-s` now that config takes over

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Apply patch and `git cm`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D100
2024-05-19 15:10:29 +09:00