1
- import { ESLint , Linter } from "eslint" ;
2
1
import * as compat from "@eslint/compat" ;
3
- import tseslint from 'typescript-eslint'
4
2
// @ts -expect-error no official types for this
5
3
import * as eslintrc from "@eslint/eslintrc" ;
6
4
import eslintJs from "@eslint/js" ;
5
+ // @ts -expect-error no types for this
6
+ import pluginNext from "@next/eslint-plugin-next" ;
7
7
import pluginTypescriptEslint from "@typescript-eslint/eslint-plugin" ;
8
8
import tsParser from "@typescript-eslint/parser" ;
9
- // @ts -expect-error no official types for this
9
+ import type { ESLint , Linter } from "eslint" ;
10
+ // @ts -expect-error no types for this
10
11
import configPrettier from "eslint-config-prettier" ;
12
+ // @ts -expect-error no types for this
13
+ import pluginImport from 'eslint-plugin-import'
14
+ // @ts -expect-error no types for this
15
+ import pluginJsxA11y from "eslint-plugin-jsx-a11y" ;
11
16
import pluginReact from "eslint-plugin-react" ;
12
17
// @ts -expect-error no types for this
13
18
import pluginReactCompiler from "eslint-plugin-react-compiler" ;
14
19
// @ts -expect-error no types for this
15
20
import pluginReactHooks from "eslint-plugin-react-hooks" ;
16
- import globals from "globals" ;
17
- // @ts -expect-error no types for this
18
- import pluginJsxA11y from "eslint-plugin-jsx-a11y" ;
19
- // @ts -expect-error no types for this
20
- import pluginNext from "@next/eslint-plugin-next" ;
21
21
import pluginStorybook from 'eslint-plugin-storybook'
22
- // @ts -expect-error no types for this
23
- import pluginImport from 'eslint-plugin-import '
22
+ import globals from "globals" ;
23
+ import tseslint from 'typescript-eslint '
24
24
25
25
// re-export
26
26
export {
@@ -46,7 +46,7 @@ export {
46
46
47
47
export const files = ( ) => [
48
48
{
49
- ignores : [ "tmp" , ".storybook" , "storybook-static" ] ,
49
+ ignores : [ "tmp" , "dist" , " .storybook", "storybook-static" ] ,
50
50
files : [ "**/*.{js,mjs,cjs,jsx,ts,tsx}" ] ,
51
51
} ,
52
52
] satisfies Linter . Config [ ] ;
0 commit comments