-
Environment
Affected Plugins
ESLint Configuration
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ["@bacaxnot/config/eslint/next.js"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: true,
},
};
const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: [
"eslint:recommended",
"prettier",
require.resolve("@vercel/style-guide/eslint/next"),
"eslint-config-turbo",
],
globals: {
React: true,
JSX: true,
},
env: {
node: true,
browser: true,
},
plugins: ["only-warn"],
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
ignorePatterns: ["*.js", "node_modules/"],
overrides: [{ files: ["*.js?(x)", "*.ts?(x)"] }],
}; Issue Description Steps to Reproduce
What I've Tried
Request for Help Thank You |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @bacaxnot, this is happening because the ESLint shareable config is not following the naming convention enforced by ESLint for shareable configs. Your config name should be |
Beta Was this translation helpful? Give feedback.
Hi @bacaxnot, this is happening because the ESLint shareable config is not following the naming convention enforced by ESLint for shareable configs. Your config name should be
@bacaxnot/eslint-config
.