eslint config zmi:预设预设:waving_hand: 源码
eslint-config-zmi 安装 通过yarn或npm安装eslint-config-zmi 。 $ yarn add eslint-config-zmi -D module . exports = { root : true , extends : [ 'zmi/base' ] , extends : [ 'zmi/typescript' ] , extends : [ 'zmi/vue' ] , extends : [ 'zmi/react' ] } // typescript extends base For example, the ts-react project 'extends': ['zmi/react'], // when initializing, ts/js are set automatically so there is no n
用户评论