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:
@@ -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) {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user