Skip to content
Myr

build: eslint@4.19.1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 06d1175 · Browse files · 9 files+24 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

9 files+24 added−9 removed

  • other:+24 added−9 removed

9 files+24 added−9 removed

modified:.github/workflows/ci.yml+13 added
modified:examples/params/index.js+1 added-1 removed
6 unmodified lines
78// Faux database910var users = [11 { name: 'tj' }11 { name: 'tj' }12 , { name: 'tobi' }13 , { name: 'loki' }14 , { name: 'jane' }15 , { name: 'bandit' }
63 unmodified lines
modified:examples/resource/index.js+1 added-1 removed
24 unmodified lines
2526// Fake records2728var users = [29 { name: 'tj' }29 { name: 'tj' }30 , { name: 'ciaran' }31 , { name: 'aaron' }32 , { name: 'guillermo' }33 , { name: 'simon' }
60 unmodified lines
modified:examples/route-middleware/index.js+1 added-1 removed
13 unmodified lines
14// curl -X DELETE http://localhost:3000/user/0 (unauthorized since you are not an admin)1516// Dummy users17var users = [18 { id: 0, name: 'tj', email: 'tj@vision-media.ca', role: 'member' }18 { id: 0, name: 'tj', email: 'tj@vision-media.ca', role: 'member' }19 , { id: 1, name: 'ciaran', email: 'ciaranj@gmail.com', role: 'member' }20 , { id: 2, name: 'aaron', email: 'aaron.heckmann+github@gmail.com', role: 'admin' }21];22
66 unmodified lines
modified:examples/web-service/index.js+1 added-1 removed
53 unmodified lines
54 { name: 'cluster', url: 'https://github.com/learnboost/cluster' }55];5657var users = [58 { name: 'tobi' }58 { name: 'tobi' }59 , { name: 'loki' }60 , { name: 'jane' }61];62
53 unmodified lines
modified:lib/response.js+1 added-1 removed
724 unmodified lines
725 if (prev) {726 // concat the new and prev vals727 value = Array.isArray(prev) ? prev.concat(val)728 : Array.isArray(val) ? [prev].concat(val)729 : [prev, val];729 : [prev, val]730 }731732 return this.set(field, value);733};
409 unmodified lines
modified:.eslintrc.yml+1 added-1 removed
modified:appveyor.yml+4 added-2 removed
27 unmodified lines
28 # Remove all non-test dependencies29 - ps: |30 # Remove example dependencies31 npm rm --silent --save-dev connect-redis32 # Remove lint dependencies33 cmd.exe /c "node -pe `"Object.keys(require('./package').devDependencies).join('\n')`"" | `34 sls "^eslint(-|$)" | `35 %{ npm rm --silent --save-dev $_ }36 # Setup Node.js version-specific dependencies37 - ps: |38 # mocha for testing39 # - use 3.x for Node.js < 4
34 unmodified lines
74 node --version75 npm --version76 # Run test script77 - npm run test-ci74 # Run linting75 - npm run lint78version: "{build}"
modified:package.json+1 added-1 removed
63 unmodified lines
64 "connect-redis": "3.4.2",65 "cookie-parser": "~1.4.4",66 "cookie-session": "1.3.3",67 "ejs": "3.1.6",68 "eslint": "2.13.1",68 "eslint": "4.19.1",69 "express-session": "1.17.0",70 "hbs": "4.1.2",71 "istanbul": "0.4.5",72 "marked": "0.7.0",
27 unmodified lines