We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc8d3b commit ee9f8fcCopy full SHA for ee9f8fc
eslint.config.mjs
@@ -1,17 +1,13 @@
1
// @ts-check
2
import eslint from '@eslint/js';
3
+import { defineConfig, globalIgnores } from 'eslint/config';
4
import globals from 'globals';
5
import tseslint from 'typescript-eslint';
6
-export default tseslint.config(
7
- // replacement of legacy `.eslintignore`
8
- {
9
- ignores: ['dist'],
10
- },
11
- // extends...
+export default defineConfig(
12
eslint.configs.recommended,
13
- ...tseslint.configs.recommended,
14
- // base config
+ tseslint.configs.recommended,
+ globalIgnores(['dist']),
15
{
16
languageOptions: {
17
globals: {
0 commit comments