mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 12:46:09 +03:00
Remove jshint
This commit is contained in:
parent
de25b68b43
commit
30a6c4494b
@ -1,6 +1,3 @@
|
|||||||
jshint:
|
|
||||||
config_file: .jshintrc
|
|
||||||
|
|
||||||
eslint:
|
eslint:
|
||||||
enabled: true
|
enabled: true
|
||||||
config_file: .eslintrc.hound.json
|
config_file: .eslintrc.hound.json
|
||||||
|
16
.jshintrc
16
.jshintrc
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"browser": true,
|
|
||||||
"curly": true,
|
|
||||||
"eqeqeq": false,
|
|
||||||
"loopfunc": false,
|
|
||||||
"noarg": true,
|
|
||||||
"trailing": true,
|
|
||||||
"undef": true,
|
|
||||||
"unused": false,
|
|
||||||
|
|
||||||
"globals": {
|
|
||||||
"OpenSeadragon": true,
|
|
||||||
"define": false,
|
|
||||||
"module": false
|
|
||||||
}
|
|
||||||
}
|
|
12
Gruntfile.js
12
Gruntfile.js
@ -5,7 +5,6 @@ module.exports = function(grunt) {
|
|||||||
// ----------
|
// ----------
|
||||||
grunt.loadNpmTasks("grunt-contrib-compress");
|
grunt.loadNpmTasks("grunt-contrib-compress");
|
||||||
grunt.loadNpmTasks("grunt-contrib-concat");
|
grunt.loadNpmTasks("grunt-contrib-concat");
|
||||||
grunt.loadNpmTasks("grunt-contrib-jshint");
|
|
||||||
grunt.loadNpmTasks("grunt-contrib-uglify");
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||||
grunt.loadNpmTasks("grunt-qunit-istanbul");
|
grunt.loadNpmTasks("grunt-qunit-istanbul");
|
||||||
grunt.loadNpmTasks("grunt-contrib-connect");
|
grunt.loadNpmTasks("grunt-contrib-connect");
|
||||||
@ -188,13 +187,6 @@ module.exports = function(grunt) {
|
|||||||
files: [ "Gruntfile.js", "src/*.js", "images/*" ],
|
files: [ "Gruntfile.js", "src/*.js", "images/*" ],
|
||||||
tasks: "watchTask"
|
tasks: "watchTask"
|
||||||
},
|
},
|
||||||
jshint: {
|
|
||||||
options: {
|
|
||||||
jshintrc: '.jshintrc'
|
|
||||||
},
|
|
||||||
beforeconcat: sources,
|
|
||||||
afterconcat: [ distribution ]
|
|
||||||
},
|
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
configFile: '.eslintrc.json'
|
configFile: '.eslintrc.json'
|
||||||
@ -272,8 +264,8 @@ module.exports = function(grunt) {
|
|||||||
// Build task.
|
// Build task.
|
||||||
// Cleans out the build folder and builds the code and images into it, checking lint.
|
// Cleans out the build folder and builds the code and images into it, checking lint.
|
||||||
grunt.registerTask("build", [
|
grunt.registerTask("build", [
|
||||||
"clean:build", "jshint:beforeconcat", "git-describe", "concat", "jshint:afterconcat",
|
"clean:build", "git-describe", "eslint", "concat", "uglify",
|
||||||
"eslint", "uglify", "replace:cleanPaths", "copy:build"
|
"replace:cleanPaths", "copy:build"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// ----------
|
// ----------
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
"grunt-contrib-compress": "^0.13.0",
|
"grunt-contrib-compress": "^0.13.0",
|
||||||
"grunt-contrib-concat": "^1.0.1",
|
"grunt-contrib-concat": "^1.0.1",
|
||||||
"grunt-contrib-connect": "^0.11.2",
|
"grunt-contrib-connect": "^0.11.2",
|
||||||
"grunt-contrib-jshint": "^0.11.0",
|
|
||||||
"grunt-contrib-uglify": "^2.0.0",
|
"grunt-contrib-uglify": "^2.0.0",
|
||||||
"grunt-contrib-watch": "^0.6.1",
|
"grunt-contrib-watch": "^0.6.1",
|
||||||
"grunt-git-describe": "^2.3.2",
|
"grunt-git-describe": "^2.3.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user