mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-09 20:12:02 +10:00
23 lines
507 B
JavaScript
23 lines
507 B
JavaScript
import mantine from 'eslint-config-mantine';
|
|
import { defineConfig } from 'eslint/config';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
// @ts-check
|
|
export default defineConfig(
|
|
tseslint.configs.recommended,
|
|
...mantine,
|
|
{ ignores: ['**/*.{mjs,cjs,js,d.ts,d.mts}', '.next'] },
|
|
{
|
|
files: ['**/*.story.tsx'],
|
|
rules: { 'no-console': 'off' },
|
|
},
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
tsconfigRootDir: process.cwd(),
|
|
project: ['./tsconfig.json'],
|
|
},
|
|
},
|
|
}
|
|
);
|