You've already forked AstralRinth
forked from didirus/AstralRinth
Migrate to Turborepo (#1251)
This commit is contained in:
37
packages/eslint-config-custom/nuxt.js
Normal file
37
packages/eslint-config-custom/nuxt.js
Normal file
@@ -0,0 +1,37 @@
|
||||
const { resolve } = require("node:path");
|
||||
|
||||
const project = resolve(process.cwd(), "tsconfig.json");
|
||||
|
||||
/*
|
||||
* This is a custom ESLint configuration for use with
|
||||
* NuxtJs apps.
|
||||
*
|
||||
* This config extends the Vercel Engineering Style Guide.
|
||||
* For more information, see https://github.com/vercel/style-guide
|
||||
*
|
||||
*/
|
||||
module.exports = {
|
||||
extends: [
|
||||
"@nuxtjs/eslint-config-typescript",
|
||||
"@vercel/style-guide/eslint/node",
|
||||
"@vercel/style-guide/eslint/browser",
|
||||
"turbo",
|
||||
].map(require.resolve),
|
||||
parserOptions: {
|
||||
sourceType: "module",
|
||||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
typescript: {
|
||||
project,
|
||||
},
|
||||
},
|
||||
},
|
||||
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.cjs", "nuxt.config.ts"],
|
||||
rules: {
|
||||
"comma-dangle": "off",
|
||||
semi: "off",
|
||||
"no-undef": "off",
|
||||
// add specific rules configurations here
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user