File tree Expand file tree Collapse file tree 2 files changed +42
-29
lines changed
Expand file tree Collapse file tree 2 files changed +42
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import tsPlugin from '@typescript-eslint/eslint-plugin'
2+ import tsParser from '@typescript-eslint/parser'
3+ import prettierConfig from 'eslint-config-prettier'
4+ import importPlugin from 'eslint-plugin-import'
5+ import storybookPlugin from 'eslint-plugin-storybook'
6+
7+ export default [
8+ {
9+ languageOptions : {
10+ parser : tsParser ,
11+ parserOptions : {
12+ ecmaVersion : 'latest' ,
13+ sourceType : 'module' ,
14+ } ,
15+ } ,
16+ settings : {
17+ 'import/resolver' : {
18+ typescript : { } ,
19+ } ,
20+ } ,
21+ plugins : {
22+ '@typescript-eslint' : tsPlugin ,
23+ import : importPlugin ,
24+ storybook : storybookPlugin ,
25+ } ,
26+ extends : [
27+ 'eslint:recommended' ,
28+ prettierConfig ,
29+ 'plugin:import/typescript' ,
30+ 'plugin:storybook/recommended' ,
31+ ] ,
32+ rules : {
33+ '@typescript-eslint/no-explicit-any' : 'off' ,
34+ '@typescript-eslint/ban-ts-comment' : 'off' ,
35+ '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
36+ '@typescript-eslint/no-unused-vars' : 'off' ,
37+ '@typescript-eslint/no-empty-interface' : 'off' ,
38+ '@typescript-eslint/no-var-requires' : 'off' ,
39+ '@typescript-eslint/ban-types' : 'off' ,
40+ } ,
41+ } ,
42+ ]
You can’t perform that action at this time.
0 commit comments