Change esversion to 6

This commit is contained in:
Hongarc 2019-04-25 11:28:28 +07:00
parent ad8d3139e0
commit a44d05e265

View file

@ -111,6 +111,7 @@ module.exports = function(grunt) {
'src/levels/**/*.js' 'src/levels/**/*.js'
], ],
options: { options: {
esversion: 6,
curly: true, curly: true,
// sometimes triple equality is just redundant and unnecessary // sometimes triple equality is just redundant and unnecessary
eqeqeq: false, eqeqeq: false,
@ -226,7 +227,7 @@ module.exports = function(grunt) {
}); });
// all my npm helpers // all my npm helpers
grunt.loadNpmTasks('grunt-jsxhint'); grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-browserify'); grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-hash'); grunt.loadNpmTasks('grunt-hash');
grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-contrib-clean');