-
-
Notifications
You must be signed in to change notification settings - Fork 107
JIT Arbitrary values #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
eee2e29
chore: add test case for issue #40
francoismassart ab1e22e
Merge branch 'master' of github.com:francoismassart/eslint-plugin-tai…
francoismassart a3691c1
fix: typo on brightness regex
francoismassart 0be11ae
fix: allow negative order
francoismassart 4a8bcfc
refactor: renaming var
francoismassart 6ec5860
fix: getSuffix for arbitrary values with type prefix
francoismassart ccf6d5b
tests: plenty of test cases
francoismassart ff13889
feat: support for arbitrary values
francoismassart a130af7
docs: function comments
francoismassart 255eb69
docs: changelog
francoismassart 35bd3d9
1.15.0
francoismassart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: support for arbitrary values
- Loading branch information
commit ff138899981270630ccfd23491f898ef0fe82114
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,11 @@ | ||
| const units = ['deg', 'grad', 'rad', 'turn']; | ||
|
|
||
| const mergedAngleValues = [ | ||
| `\\-?(\\d{1,}(\\.\\d{1,})?|\\.\\d{1,})(${units.join('|')})`, | ||
| `calc\\(.{1,}\\)`, | ||
| `var\\(\\-\\-[A-Za-z\\-]{1,}\\)`, | ||
| ]; | ||
|
|
||
| module.exports = { | ||
| mergedAngleValues, | ||
| }; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GradientColorStopsalso support opacity suffixes, @francoismassart.