Skip to content
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

Fix issue with placeholder name format with interpolation #648

Merged

Conversation

DanPurdy
Copy link
Member

Fixes #625

Makes sure that the placeholder name is an ident rather than interpolation or a variable etc.

DCO 1.1 Signed-off-by: Dan Purdy <dan@danpurdy.co.uk>

@DanPurdy DanPurdy added this to the 1.6.3 milestone Apr 26, 2016
@coveralls
Copy link

coveralls commented Apr 26, 2016

Coverage Status

Coverage increased (+0.002%) to 96.993% when pulling 5075712 on DanPurdy:feature/fix-placeholder-name-format into 6b04147 on sasstools:develop.

if (parser.options['convention-explanation']) {
violationMessage = parser.options['convention-explanation'];
switch (parser.options.convention) {
case 'hyphenatedlowercase':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appears to be some weird indentation going on

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, It's how eslint is set.. Changing to how we would write it gives indentation warning, also travis is already doing the linting tests & you'll wanna do the PR with ?w=1 as i only added 2 lines..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still weird haha

@bgriffith bgriffith merged commit f745ab5 into sasstools:develop Apr 26, 2016
@DanPurdy DanPurdy deleted the feature/fix-placeholder-name-format branch April 26, 2016 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants