Chore: Skip unnecessary checks on pre commit (#16946)

* Skip unnecessary checks on pre commit

* Remove grunt precommit task

* Separate go and fe tesrt lint
This commit is contained in:
Dominik Prokop
2019-05-08 11:43:37 +02:00
committed by GitHub
parent a86b8c8a04
commit 4762cd671a
6 changed files with 104 additions and 50 deletions
-10
View File
@@ -31,15 +31,6 @@ module.exports = function(grunt) {
'newer:exec:typecheckRoot'
]);
// prettier-ignore
grunt.registerTask('precommit', [
'newer:sasslint',
'typecheck',
'tslint',
'no-only-tests',
'no-focus-convey-tests'
]);
grunt.registerTask('no-only-tests', function() {
var files = grunt.file.expand(
'public/**/*@(_specs|.test).@(ts|js|tsx|jsx)',
@@ -65,4 +56,3 @@ module.exports = function(grunt) {
});
}
};