make eslint happy
This commit is contained in:
parent
ecb65c9171
commit
3e143435e6
14 changed files with 120 additions and 103 deletions
|
@ -1,5 +1,3 @@
|
|||
"use strict"
|
||||
|
||||
module.exports = function(grunt) {
|
||||
grunt.config.merge({
|
||||
copy: {
|
||||
|
@ -31,7 +29,7 @@ module.exports = function(grunt) {
|
|||
],
|
||||
expand: true,
|
||||
dest: "build/",
|
||||
cwd: "bower_components/ionicons/",
|
||||
cwd: "bower_components/ionicons/"
|
||||
}
|
||||
},
|
||||
cssmin: {
|
||||
|
@ -61,5 +59,5 @@ module.exports = function(grunt) {
|
|||
|
||||
grunt.loadNpmTasks("grunt-contrib-copy")
|
||||
grunt.loadNpmTasks("grunt-contrib-requirejs")
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin')
|
||||
grunt.loadNpmTasks("grunt-contrib-cssmin")
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict"
|
||||
|
||||
module.exports = function (grunt) {
|
||||
grunt.config.merge({
|
||||
clean: {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict"
|
||||
|
||||
module.exports = function (grunt) {
|
||||
grunt.config.merge({
|
||||
connect: {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"use strict"
|
||||
|
||||
module.exports = function (grunt) {
|
||||
grunt.config.merge({
|
||||
checkDependencies: {
|
||||
|
@ -15,10 +13,13 @@ module.exports = function (grunt) {
|
|||
},
|
||||
eslint: {
|
||||
options: {
|
||||
rule: {
|
||||
semi: [2, "never"],
|
||||
strict: [2, "never"],
|
||||
curly: [2, "multi"]
|
||||
rules: {
|
||||
"semi": [2, "never"],
|
||||
"curly": [2, "multi"],
|
||||
"strict": [2, "never"],
|
||||
"no-multi-spaces": 0,
|
||||
"no-new": 0,
|
||||
"no-shadow": 0
|
||||
}
|
||||
},
|
||||
sources: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue