Skip to content

Commit 778b8b1

Browse files
Fix apostrophie build error
1 parent b327dc2 commit 778b8b1

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

eslint.config.mjs

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
import { defineConfig } from "eslint/config";
2-
import path from "node:path";
3-
import { fileURLToPath } from "node:url";
4-
import js from "@eslint/js";
5-
import { FlatCompat } from "@eslint/eslintrc";
1+
import { defineConfig } from 'eslint/config';
2+
import path from 'node:path';
3+
import { fileURLToPath } from 'node:url';
4+
import js from '@eslint/js';
5+
import { FlatCompat } from '@eslint/eslintrc';
66

77
const __filename = fileURLToPath(import.meta.url);
88
const __dirname = path.dirname(__filename);
99
const compat = new FlatCompat({
10-
baseDirectory: __dirname,
11-
recommendedConfig: js.configs.recommended,
12-
allConfig: js.configs.all
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
allConfig: js.configs.all
1313
});
1414

15-
export default defineConfig([{
16-
extends: compat.extends("next/core-web-vitals"),
15+
export default defineConfig([
16+
{
17+
extends: compat.extends('next/core-web-vitals'),
1718

1819
rules: {
19-
"@next/next/no-img-element": 0,
20-
},
21-
}]);
20+
'@next/next/no-img-element': 0,
21+
'react/no-unescaped-entities': 0
22+
}
23+
}
24+
]);

0 commit comments

Comments
 (0)