mirror of https://github.com/buster-so/buster.git
update lint check
This commit is contained in:
parent
f179ea1f3e
commit
4bce03f7e0
|
@ -56,6 +56,10 @@ const createCspHeader = (isEmbed = false) => {
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: false,
|
||||
// Disable ESLint during builds since we're using Biome
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true
|
||||
},
|
||||
sassOptions: {
|
||||
includePaths: [path.join(__dirname, 'styles')],
|
||||
silenceDeprecations: ['legacy-js-api']
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --turbo",
|
||||
"build": "next build",
|
||||
"build": "npm run lint:biome && next build",
|
||||
"start": "next start",
|
||||
"lint": "npx biome check && next lint",
|
||||
"lint:biome": "npx biome check",
|
||||
|
|
Loading…
Reference in New Issue