[!!!][TASK] Use eslint default
This commit is contained in:
parent
a627e2febc
commit
a8c19ba44c
19 changed files with 379 additions and 158 deletions
|
@ -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: {
|
||||
|
|
|
@ -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"]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue