Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

EVG-20048: Introduce check-file plugin #2109

Merged
merged 33 commits into from
Nov 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b1ba409
Introduce check-file plugin
SupaJoon Oct 18, 2023
a3e406c
verify tsx and use errorIfStrict
SupaJoon Oct 20, 2023
9889520
prodserver -> prod-server
SupaJoon Oct 30, 2023
647483b
cypress files
SupaJoon Oct 30, 2023
d54ce57
eventLogDiffs
SupaJoon Oct 30, 2023
87b0510
inactive style
SupaJoon Oct 30, 2023
f43cd07
more file name updates
SupaJoon Oct 30, 2023
4976741
toast test
SupaJoon Oct 30, 2023
bd90447
update naming conventions
SupaJoon Oct 30, 2023
f8ea637
404 -> NotFound
SupaJoon Oct 30, 2023
aa95bc4
remove tsx file (replaced by ts file)
SupaJoon Oct 30, 2023
0848548
event copy component
SupaJoon Oct 30, 2023
bc5a909
tsx -> ts
SupaJoon Oct 30, 2023
90c44fe
HostEventString comp
SupaJoon Oct 30, 2023
802787e
utils.tsx -> Utils.tsx
SupaJoon Oct 30, 2023
1f66210
ts -> tsx
SupaJoon Oct 30, 2023
c1a86a6
tsx -> ts
SupaJoon Oct 30, 2023
c8d17f9
update check-file edge cases
SupaJoon Oct 30, 2023
ad6d4c0
Merge branch 'main' of github.com:evergreen-ci/spruce into EVG-20048
SupaJoon Oct 30, 2023
59e8c90
Merge branch 'main' of github.com:evergreen-ci/spruce into EVG-20048
SupaJoon Nov 1, 2023
9034003
comments
SupaJoon Nov 1, 2023
de7196a
create useSubscriptionData hook file
SupaJoon Nov 1, 2023
827ea8e
merge main
SupaJoon Nov 15, 2023
750a352
update buildbaron file name
SupaJoon Nov 15, 2023
161996b
Divider.tsx -> divider.ts
SupaJoon Nov 15, 2023
916dcad
simplify rules
SupaJoon Nov 15, 2023
998cf28
try and fix error
SupaJoon Nov 15, 2023
1013516
merge main
SupaJoon Nov 27, 2023
8fc1528
Merge branch 'main' of github.com:evergreen-ci/spruce into EVG-20048
SupaJoon Nov 27, 2023
bbece55
change dir casing
SupaJoon Nov 27, 2023
33f1d7b
Revert "change dir casing"
SupaJoon Nov 27, 2023
45a7c6e
fix casing
SupaJoon Nov 27, 2023
5defa1c
eslint:fix
SupaJoon Nov 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update naming conventions
  • Loading branch information
SupaJoon committed Oct 30, 2023
commit bd904472e5e0d29ffc7603e06d8513f3c33b9bfa
8 changes: 5 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ module.exports = {
"check-file/filename-naming-convention": [
errorIfStrict,
{
"**/*.graphql": "KEBAB_CASE",
"src/gql/fragments/**/*.graphql": "CAMEL_CASE",
"src/gql/(mutations,queries)/**/*.graphql": "KEBAB_CASE",
"cypress/integration/**/*.ts": "SNAKE_CASE",
"scripts/**/*.{js,ts}": "KEBAB_CASE",
"src/**/!(vite-env.d)*.{js,ts}": "CAMEL_CASE",
"src/**/!(use|getFormSchema|index)*.tsx": "PASCAL_CASE",
"src/**/!(vite-env.d,custom-queries,toast-decorator)*.{js,ts}":
"CAMEL_CASE",
"src/**/!(use|getFormSchema|index|test-utils)*.tsx": "PASCAL_CASE",
"src/**/(use|getFormSchema|index)*.tsx": "CAMEL_CASE",
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we further trim these down? So we don't have 4 different conventions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the smallest set that makes sense to me. Let me know what you want to trim and why.

{
Expand Down