This repository has been archived by the owner on Jun 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Nested/mixed selectors now works correctly
This commit include a refactoring based on postcss-selector-matches and add the ability to limit the transformation to :matches() usage. Also in this commit: - add eslint - rewrite using babel (es6/7) - fixtures files removed in favor of es6 template string - should also fix some weird “undefined” warnings Close #19
- Loading branch information
Showing
30 changed files
with
507 additions
and
427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"stage": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
# babel support more syntax stuff than eslint for now | ||
parser: babel-eslint | ||
|
||
ecmaFeatures: | ||
modules: true | ||
|
||
env: | ||
es6: true | ||
browser: true | ||
node: true | ||
|
||
rules: | ||
indent: [2, 2] # 2 spaces indentation | ||
max-len: [2, 80, 4] | ||
quotes: [2, "double"] | ||
semi: [2, "never"] | ||
no-multiple-empty-lines: [2, {"max": 1}] | ||
|
||
brace-style: [2, "stroustrup"] | ||
comma-dangle: [2, "always-multiline"] | ||
comma-style: [2, "last"] | ||
computed-property-spacing: [2, "never"] | ||
dot-location: [2, "property"] | ||
|
||
one-var: [2, "never"] | ||
#no-var: [2] | ||
prefer-const: [2] | ||
no-bitwise: [2] | ||
|
||
object-shorthand: [2, "methods"] | ||
space-after-keywords: [2, "always"] | ||
space-before-blocks: [2, "always"] | ||
space-before-function-paren: [2, "never"] | ||
space-in-brackets: [2, "never"] | ||
space-in-parens: [2, "never"] | ||
spaced-line-comment: [2, "always"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.DS_Store | ||
node_modules | ||
test/fixtures/*/actual.css | ||
*.sublime-workspace | ||
|
||
node_modules | ||
test/fixtures/*/actual.css | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.