Skip to content

Commit 16baa9b

Browse files
committed
style: fix lint errors
1 parent 0ab4b86 commit 16baa9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Syntax.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
const COMPONENT_RE = /^[a-zA-Z_0-9]+$/;
77

8-
export function isComponent(node: PostCSSNode) {
8+
export function isComponent(node) {
99
return (
1010
node.type === 'rule' &&
1111
COMPONENT_RE.exec(node.selector) &&

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as types from 'babel-types';
77
import * as postcss from 'postcss';
88
import * as LoaderUtils from 'loader-utils';
99
import generate from 'babel-generator';
10-
import transformVariants, {isVariant} from './transformVariants';
10+
import transformVariants from './transformVariants';
1111
import HTMLTagList from './HTMLTagList';
1212
import * as ComponentRef from './ComponentRef';
1313
import * as Syntax from './Syntax';

0 commit comments

Comments
 (0)