[FE] WebStorm, ESLint: Trailing spaces not allowed
在 WebStorm 中搜索文件 .eslintrc.js
在里面的 rules 项中追加规则:
'no-trailing-spaces' : ['off', { 'skipBlankLines': true, 'ignoreComments': true, } ],
http://eslint.org/docs/rules/no-trailing-spaces
在 WebStorm 中搜索文件 .eslintrc.js
在里面的 rules 项中追加规则:
'no-trailing-spaces' : ['off', { 'skipBlankLines': true, 'ignoreComments': true, } ],
http://eslint.org/docs/rules/no-trailing-spaces