diff --git a/next/.eslintrc b/next/.eslintrc deleted file mode 100644 index 1d877b1d..00000000 --- a/next/.eslintrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": [ - "next/core-web-vitals", - "@osn", - "../.eslintrc.js" - ], - "rules": { - "@next/next/no-img-element": "off", - "jsx-a11y/alt-text": "off" - } -} diff --git a/next/.eslintrc.js b/next/.eslintrc.js new file mode 100644 index 00000000..03e3f0da --- /dev/null +++ b/next/.eslintrc.js @@ -0,0 +1,12 @@ +module.exports = { + extends: ["next/core-web-vitals", "@osn", "../.eslintrc.js"], + parserOptions: { + babelOptions: { + presets: [require.resolve("next/babel")], + }, + }, + rules: { + "@next/next/no-img-element": "off", + "jsx-a11y/alt-text": "off", + }, +};