feat: add landing page with nuxt
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import { FlatCompat } from '@eslint/eslintrc';
|
||||
import { dirname } from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import js from '@eslint/js';
|
||||
import baseConfig from '../../eslint.config.mjs';
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: dirname(fileURLToPath(import.meta.url)),
|
||||
recommendedConfig: js.configs.recommended,
|
||||
});
|
||||
|
||||
export default [
|
||||
...baseConfig,
|
||||
{
|
||||
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx', '**/*.vue'],
|
||||
// Override or add rules here
|
||||
rules: {},
|
||||
},
|
||||
...compat.extends('@nuxt/eslint-config'),
|
||||
{
|
||||
files: ['**/*.vue'],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
parser: await import('@typescript-eslint/parser'),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ['.nuxt/**', '.output/**', 'node_modules'],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user