We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec792d commit 5f0d214Copy full SHA for 5f0d214
packages/gatsby/src/utils/eslint-config.ts
@@ -7,7 +7,15 @@ const eslintRequirePreset = require.resolve(`./eslint/required`)
7
8
export const eslintRequiredConfig: CLIEngine.Options = {
9
rulePaths: [eslintRulePaths],
10
+ useEslintrc: false,
11
baseConfig: {
12
+ parserOptions: {
13
+ ecmaVersion: 2018,
14
+ sourceType: `module`,
15
+ ecmaFeatures: {
16
+ jsx: true,
17
+ },
18
19
globals: {
20
graphql: true,
21
__PATH_PREFIX__: true,
0 commit comments