Skip to content

Commit ea6d6ac

Browse files
author
Tom Kirkpatrick
committed
fix eslint integration
1 parent 9dd6208 commit ea6d6ac

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

.eslintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "fullcube",
3-
"root": true,
4-
"rules": {
5-
"id-length": "off"
6-
}
3+
"root": true
74
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"compression": "^1.0.3",
4242
"cors": "^2.5.2",
4343
"coveralls": "^2.11.9",
44-
"eslint": "2.0.0-rc.0",
44+
"eslint": "^2.13.1",
4545
"eslint-config-fullcube": "https://github.com/fullcube/eslint-config-fullcube/tarball/master",
4646
"eslint-config-strict": "https://github.com/fullcube/eslint-config-strict/tarball/f235fa38289b17e305a65be38ff9cfdf4c1eb31c",
4747
"eslint-plugin-filenames": "https://github.com/fullcube/eslint-plugin-filenames/tarball/0123c4bb0034d71cc7a04c25fd63b3ac798052a1",

test/.eslintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "fullcube/mocha",
3-
"root": true,
4-
"rules": {
5-
"id-length": "off"
6-
}
3+
"root": true
74
}

test/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ describe('State changes', function() {
8080

8181
describe('Observers', function() {
8282
const event = 'cancel'
83-
const from = 'active'
84-
const to = 'canceled'
83+
const fromState = 'active'
84+
const toState = 'canceled'
8585
const observers = [
86-
`fsm:onleave${from}`,
86+
`fsm:onleave${fromState}`,
8787
'fsm:onleave',
8888
`fsm:on${event}`,
89-
`fsm:onenter${to}`,
89+
`fsm:onenter${toState}`,
9090
'fsm:onenter',
91-
`fsm:onentered${to}`,
91+
`fsm:onentered${toState}`,
9292
'fsm:onentered',
9393
]
9494
const observersThatRan = []

0 commit comments

Comments
 (0)