File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "extends" : [" @20minutes/eslint-config/biome" ]
3+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { Octokit } from '@octokit/rest'
21import { graphql } from '@octokit/graphql'
2+ import { Octokit } from '@octokit/rest'
33
44export class Handler {
55 constructor ( githubToken ) {
Original file line number Diff line number Diff line change 66 "test" : " vitest run --silent" ,
77 "test:coverage" : " vitest run --coverage" ,
88 "test:watch" : " vitest" ,
9- "lint" : " eslint functions/ tests/"
9+ "lint" : " biome check --max-diagnostics=none" ,
10+ "lint:fix" : " biome check --write --unsafe --max-diagnostics=none"
1011 },
1112 "author" : " 20 Minutes <web-tech@20minutes.fr>" ,
1213 "license" : " MIT" ,
1617 "node" : " >= 24"
1718 },
1819 "devDependencies" : {
19- "@20minutes/eslint-config" : " ^2 .0.0" ,
20+ "@20minutes/eslint-config" : " ^3 .0.0" ,
2021 "@fetch-mock/vitest" : " ^0.2.18" ,
2122 "@vitest/coverage-v8" : " ^4.0.18" ,
2223 "esbuild" : " ^0.27.3" ,
23- "eslint" : " ^9.39.2" ,
24- "eslint-config-prettier" : " ^10.1.8" ,
25- "eslint-plugin-import" : " ^2.32.0" ,
26- "eslint-plugin-prettier" : " ^5.5.5" ,
27- "eslint-plugin-react" : " ^7.37.5" ,
28- "eslint-plugin-react-hooks" : " ^7.0.1" ,
29- "prettier" : " ^3.8.1" ,
3024 "serverless-esbuild" : " ^1.57.0" ,
3125 "serverless-offline" : " ^13.9.0" ,
3226 "vitest" : " ^4.0.18"
Original file line number Diff line number Diff line change 11import fetchMock from '@fetch-mock/vitest'
2- import { AutomergeHandler } from '../functions/classes/AutomergeHandler.js'
32import { handler } from '../functions/auto-merge.js'
3+ import { AutomergeHandler } from '../functions/classes/AutomergeHandler.js'
44
55describe ( 'Validating GitHub event' , ( ) => {
66 test ( 'bad content type' , async ( ) => {
You can’t perform that action at this time.
0 commit comments