Skip to content

Commit 86d96d7

Browse files
committed
Fix up some eslint
1 parent efbeb4b commit 86d96d7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.eslintrc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88
"ecmaVersion": 6,
99
"sourceType": "module",
1010
"ecmaFeatures": {
11-
"jsx": true
12-
},
11+
"jsx": true
12+
},
13+
},
14+
"globals": {
15+
"SystemJS": true,
1316
},
1417
"extends": "eslint:recommended",
1518
"plugins": [
16-
"react"
17-
],
19+
"react"
20+
],
1821
"rules": {
1922

2023
}

lib/generate-scope-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var generateScopeList = function(node, /*optional*/includeSelf) {
2222

2323
// If it is a at-rule, then we need to construct the proper piece
2424
if(currentNodeParent.type === 'atrule') {
25-
scopePieces = [].concat(currentNodeParent.params).map(function(param, index) {
25+
scopePieces = [].concat(currentNodeParent.params).map(function(param) {
2626
return {
2727
value: '@' + currentNodeParent.name + ' ' + param,
2828
type: 'atrule'

0 commit comments

Comments
 (0)