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
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
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
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
7b5aed5b48
meta: Add arclint and supporting files
...
Summary:
Mostly lint and CIs
Signed-off-by: Yongmin Hong <revi@omglol.email>
Test Plan: Is there one?
Reviewers: O1 revi & automations, revi
Reviewed By: O1 revi & automations, revi
Differential Revision: https://issuetracker.revi.xyz/D78
2024-05-12 18:58:04 +09:00