Add and configure ESLint and update configuration for Prettier (#508)

* Add ESLint and update Prettier

* Rebuild action

* Update package.json
This commit is contained in:
Ivan
2023-03-09 15:02:17 +02:00
committed by GitHub
parent ba790c862c
commit 8d81f881dd
17 changed files with 2242 additions and 35 deletions

View File

@@ -48,7 +48,7 @@ describe('run', () => {
});
it('(with sync-labels: true) it deletes preexisting PR labels that no longer match the glob pattern', async () => {
let mockInput = {
const mockInput = {
'repo-token': 'foo',
'configuration-path': 'bar',
'sync-labels': true
@@ -79,7 +79,7 @@ describe('run', () => {
});
it('(with sync-labels: false) it issues no delete calls even when there are preexisting PR labels that no longer match the glob pattern', async () => {
let mockInput = {
const mockInput = {
'repo-token': 'foo',
'configuration-path': 'bar',
'sync-labels': false