Fix eslint config
This commit is contained in:
parent
e783e92749
commit
d13ece4b07
4 changed files with 14 additions and 5 deletions
5
.changeset/tame-stingrays-wave.md
Normal file
5
.changeset/tame-stingrays-wave.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"eslint-config-saleor": minor
|
||||
---
|
||||
|
||||
Disable next/babel setting in shared eslint config
|
|
@ -40,6 +40,7 @@
|
|||
"zod": "^3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0",
|
||||
"@graphql-codegen/cli": "2.13.3",
|
||||
"@graphql-codegen/introspection": "2.2.1",
|
||||
"@graphql-codegen/typed-document-node": "^2.3.3",
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
module.exports = {
|
||||
extends: ["next", "turbo", "prettier"],
|
||||
rules: {},
|
||||
parserOptions: {
|
||||
babelOptions: {
|
||||
presets: [require.resolve("next/babel")],
|
||||
},
|
||||
},
|
||||
// todo - check this, it was default in turbo
|
||||
// parserOptions: {
|
||||
// babelOptions: {
|
||||
// presets: [require.resolve("next/babel")],
|
||||
// },
|
||||
// },
|
||||
};
|
||||
|
|
|
@ -42,6 +42,7 @@ importers:
|
|||
'@vitest/coverage-c8': ^0.28.4
|
||||
clsx: ^1.2.1
|
||||
dot-object: ^2.1.4
|
||||
eslint: ^8.33.0
|
||||
eslint-config-saleor: workspace:*
|
||||
graphql: ^16.6.0
|
||||
graphql-tag: ^2.12.6
|
||||
|
@ -96,6 +97,7 @@ importers:
|
|||
'@types/react': 18.0.27
|
||||
'@types/react-dom': 18.0.10
|
||||
'@vitest/coverage-c8': 0.28.4_jsdom@20.0.3
|
||||
eslint: 8.33.0
|
||||
eslint-config-saleor: link:../../packages/eslint-config-saleor
|
||||
typescript: 4.9.5
|
||||
|
||||
|
|
Loading…
Reference in a new issue