[!!!][TASK] Use eslint default

This commit is contained in:
Milan Pässler 2017-03-18 15:33:49 +01:00
commit a8c19ba44c
19 changed files with 379 additions and 158 deletions

View file

@ -4,9 +4,9 @@ module.exports = function (grunt) {
server: {
options: {
base: {
path: 'build',
path: "build",
options: {
index: 'index.html'
index: "index.html"
}
},
livereload: true
@ -18,7 +18,7 @@ module.exports = function (grunt) {
options: {
livereload: true
},
files: ["*.css", "app.js", "helper.js", "lib/**/*.js", "*.html"],
files: ["*.css", "app.js", "lib/**/*.js", "*.html"],
tasks: ["dev"]
},
config: {

View file

@ -12,15 +12,6 @@ module.exports = function (grunt) {
npm: {}
},
eslint: {
options: {
extends: [
"defaults/configurations/eslint"
],
rules: {
"semi": [2, "always"],
"no-undef": 0
}
},
sources: {
src: ["app.js", "!Gruntfile.js", "lib/**/*.js"]
},