【发布时间】:2017-03-24 18:49:27
【问题描述】:
我使用 ESLint 和 gulp-eslint。有没有办法激活 Angular2 注释的 linter 规则?
@Component( {
selector: 'example',
styleUrls: ['app.css'],
templateUrl: 'app.html', //Linter should warn cause the semicolon
})
//Linter should warn in case of a blank line between componente and class
export class App {
}
【问题讨论】:
标签: javascript angular gulp eslint