Questions tagged «jscs»

3
jscs是否可以忽略每个文件,块或行的规则?
我正在寻找一种方法让jscs(JavaScript代码样式)执行与jshint相同的行为,以忽略每个文件带有顶部注释或每行带有开始和结束注释的某些规则。 jshint示例忽略文件中的特定规则: /* jshint undef: false */ jshint示例忽略块中的特定规则: // Code here will be linted with JSHint. /* jshint ignore:start */ // Code here will be linted with ignored by JSHint. /* jshint ignore:end */
78 jscs 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.