11/* eslint-env node */
2- const projects = [
2+ const project = [
33 './packages/core/tsconfig.json' ,
44 './packages/designer/tsconfig.json' ,
55 './packages/designer-bundle/tsconfig.json' ,
@@ -10,7 +10,9 @@ const projects = [
1010 './packages/views/google-map/tsconfig.json' ,
1111 './packages/views/fast-qr/tsconfig.json' ,
1212 './packages/views/rsuite/tsconfig.json' ,
13+ './packages/views/rsuite/config/tsconfig.json' ,
1314 './packages/views/signature/tsconfig.json' ,
15+ './packages/views/uploader/tsconfig.json' ,
1416 './tests/component/tsconfig.json'
1517]
1618
@@ -123,8 +125,21 @@ module.exports = {
123125 } ,
124126 parser : '@typescript-eslint/parser' ,
125127 parserOptions : {
126- project : projects ,
128+ project,
127129 tsconfigRootDir : __dirname ,
128130 } ,
129131 root : true ,
132+ overrides : [
133+ {
134+ files : [ '**/config/*.ts' ] ,
135+ rules : {
136+ 'import/no-nodejs-modules' : 'off' ,
137+ 'no-console' : 'off' ,
138+ 'jsdoc/require-jsdoc' : 'off' ,
139+ 'import/no-extraneous-dependencies' : 'off' ,
140+ '@typescript-eslint/ban-ts-comment' : 'off' ,
141+ 'no-inner-declarations' : 'off' ,
142+ } ,
143+ } ,
144+ ] ,
130145} ;
0 commit comments