Skip to content

Commit 658060a

Browse files
committed
chore: replace prettier ignore with eslint ignore
1 parent 06d961d commit 658060a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

plugin/src/helpers/config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-lines */
12
import { EOL } from 'os'
23
import path from 'path'
34
import process from 'process'
@@ -76,8 +77,11 @@ export async function checkConfig({ utils, netlifyConfig }): Promise<void> {
7677

7778
if (hasPlugin(gatsbyConfig.plugins, 'gatsby-plugin-netlify')) {
7879
if (
79-
// prettier-ignore
80-
!(await checkPackageVersion(gatsbyRoot, 'gatsby-plugin-netlify', '>=4.2.0',))
80+
!(await checkPackageVersion(
81+
gatsbyRoot,
82+
'gatsby-plugin-netlify',
83+
'>=4.2.0',
84+
))
8185
) {
8286
console.error(
8387
'The plugin `gatsby-plugin-netlify` does not support DSG, please update to >=4.2.0',
@@ -173,3 +177,4 @@ export function shouldSkipFunctions(cacheDir: string): boolean {
173177
export function getGatsbyRoot(publish: string): string {
174178
return path.resolve(path.dirname(publish))
175179
}
180+
/* eslint-enable max-lines */

0 commit comments

Comments
 (0)