fix: add eslint/prettier to root and update eslint config
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 47s
Build & Deploy / 🏗️ Build (push) Failing after 4m27s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / ⚡ PageSpeed (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 1s
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 47s
Build & Deploy / 🏗️ Build (push) Failing after 4m27s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / ⚡ PageSpeed (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 1s
This commit is contained in:
23
eslint.config.js
Normal file
23
eslint.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import mintelConfig from "@mintel/eslint-config";
|
||||
import { nextConfig } from "@mintel/eslint-config/next";
|
||||
|
||||
export default [
|
||||
...mintelConfig,
|
||||
{
|
||||
files: ["apps/web/**/*.{js,jsx,ts,tsx}"],
|
||||
...nextConfig[0], // Ignores and common stuff
|
||||
},
|
||||
...nextConfig.slice(1).map(config => ({
|
||||
...config,
|
||||
files: ["apps/web/**/*.{js,jsx,ts,tsx}"],
|
||||
})),
|
||||
{
|
||||
ignores: [
|
||||
"**/node_modules/**",
|
||||
"**/.next/**",
|
||||
"**/out/**",
|
||||
"**/dist/**",
|
||||
"**/build/**",
|
||||
],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user