File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ export default [
88 js . configs . recommended ,
99 eslintPluginPrettierRecommended ,
1010 importPlugin . flatConfigs . recommended ,
11+ ...tseslint . configs . recommendedTypeChecked . map ( ( config ) => {
12+ return {
13+ files : [ "lib/**" ] ,
14+ ...config ,
15+ } ;
16+ } ) ,
1117 {
1218 languageOptions : {
1319 ecmaVersion : "latest" ,
@@ -33,12 +39,11 @@ export default [
3339 "no-trailing-spaces" : "error" ,
3440 "prefer-const" : "error" ,
3541 semi : "error" ,
42+
43+ // For now we want to focus on the exposed types rather than the internals.
44+ "@typescript-eslint/no-unsafe-assignment" : 0 ,
45+ "@typescript-eslint/no-unsafe-call" : 0 ,
46+ "@typescript-eslint/no-unsafe-member-access" : 0 ,
3647 } ,
3748 } ,
38- ...tseslint . configs . recommendedTypeChecked . map ( config => {
39- return {
40- files : [ "lib/**" ] ,
41- ...config
42- }
43- } )
4449] ;
You can’t perform that action at this time.
0 commit comments