-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1041 from chromaui/cody/cap-2199-eslint-add-unico…
…rn-config Add basic `unicorn` setup to ESLint config
- Loading branch information
Showing
76 changed files
with
489 additions
and
318 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
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
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
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
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
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,2 @@ | ||
/* eslint-disable unicorn/no-empty-file */ | ||
// This file is intentionally left blank |
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,2 @@ | ||
/* eslint-disable unicorn/no-empty-file */ | ||
// This file is intentionally left blank |
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,2 @@ | ||
/* eslint-disable unicorn/no-empty-file */ | ||
// This file is intentionally left blank |
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,2 @@ | ||
/* eslint-disable unicorn/no-empty-file */ | ||
// This file is intentionally left blank |
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
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
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
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ beforeEach(() => { | |
getBranch.mockResolvedValue('main'); | ||
getCommit.mockResolvedValue({ | ||
commit: '48e0c83fadbf504c191bc868040b7a969a4f1feb', | ||
committedAt: 1640094096000, | ||
committedAt: 1_640_094_096_000, | ||
committerName: 'GitHub', | ||
committerEmail: '[email protected]', | ||
}); | ||
|
@@ -40,7 +40,7 @@ afterEach(() => { | |
}); | ||
|
||
const commitInfo = { | ||
committedAt: 1640131292, | ||
committedAt: 1_640_131_292, | ||
committerName: 'Gert Hengeveld', | ||
committerEmail: '[email protected]', | ||
}; | ||
|
@@ -51,7 +51,7 @@ describe('getCommitAndBranch', () => { | |
expect(info).toMatchObject({ | ||
branch: 'main', | ||
commit: '48e0c83fadbf504c191bc868040b7a969a4f1feb', | ||
committedAt: 1640094096000, | ||
committedAt: 1_640_094_096_000, | ||
committerName: 'GitHub', | ||
committerEmail: '[email protected]', | ||
slug: undefined, | ||
|
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
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
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ describe('getCommit', () => { | |
); | ||
expect(await getCommit()).toEqual({ | ||
commit: '19b6c9c5b3d34d9fc55627fcaf8a85bd5d5e5b2a', | ||
committedAt: 1696588814 * 1000, | ||
committedAt: 1_696_588_814 * 1000, | ||
committerEmail: '[email protected]', | ||
committerName: 'Gert Hengeveld', | ||
}); | ||
|
@@ -48,7 +48,7 @@ gpg: Can't check signature: No public key | |
); | ||
expect(await getCommit()).toEqual({ | ||
commit: '19b6c9c5b3d34d9fc55627fcaf8a85bd5d5e5b2a', | ||
committedAt: 1696588814 * 1000, | ||
committedAt: 1_696_588_814 * 1000, | ||
committerEmail: '[email protected]', | ||
committerName: 'Gert Hengeveld', | ||
}); | ||
|
Oops, something went wrong.