Skip to content

Commit 7e721d8

Browse files
committedJan 8, 2018
Make it lint again
1 parent b13996e commit 7e721d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const getDefinition = (atRule, existingDefinitions, requiredDefinitions) => {
2222

2323
// eslint-disable-next-line no-cond-assign
2424
while (matches = matchValueDefinition.exec(atRule.params)) {
25-
const [/* match*/, requiredName, middle, value, end] = matches;
25+
const [/* match */, requiredName, middle, value, end] = matches;
2626
// Add to the definitions, knowing that values can refer to each other
2727
definition[requiredName] = replaceAll(existingDefinitions, value);
2828

@@ -42,7 +42,7 @@ const getImports = (aliases) => {
4242
const tokens = matchImport.exec(alias);
4343

4444
if (tokens) {
45-
const [/* match*/, theirName, myName = theirName] = tokens;
45+
const [/* match */, theirName, myName = theirName] = tokens;
4646
imports[theirName] = myName;
4747
} else {
4848
throw new Error(`@value statement "${alias}" is invalid!`);
@@ -66,7 +66,7 @@ const walk = async (requiredDefinitions, walkFile, root, result) => {
6666

6767
if (matches) {
6868
// eslint-disable-next-line prefer-const
69-
let [/* match*/, aliases, pathString] = matches;
69+
let [/* match */, aliases, pathString] = matches;
7070

7171
// We can use constants for path names
7272
if (existingDefinitions[pathString]) {

0 commit comments

Comments
 (0)
Please sign in to comment.