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

Install normalize.css via yarn #851

Merged
merged 1 commit into from
Jul 7, 2017
Merged

Conversation

delphaber
Copy link
Contributor

No description provided.

@@ -273,7 +273,7 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m)

Choose a reason for hiding this comment

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

Line is too long. [93/80]

@@ -273,7 +273,7 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m)

Choose a reason for hiding this comment

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

Line is too long. [93/80]

@@ -273,7 +273,7 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m)

Choose a reason for hiding this comment

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

Line is too long. [93/80]

@@ -273,7 +273,7 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m)

Choose a reason for hiding this comment

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

Line is too long. [93/80]

@@ -273,7 +273,9 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(
/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m

Choose a reason for hiding this comment

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

Put a comma after the last parameter of a multiline method call.

@@ -273,7 +273,9 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(
/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m

Choose a reason for hiding this comment

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

Put a comma after the last parameter of a multiline method call.

@@ -273,7 +273,9 @@ def app_name
expect(read_project_file(flashes_path)).to match(/\$flashes/m)

app_css = read_project_file(%w(app assets stylesheets application.scss))
expect(app_css).to match(/normalize-css.*bourbon.*neat.*base.*refills/m)
expect(app_css).to match(
/normalize\.css\/normalize\.css.*bourbon.*neat.*base.*refills/m

Choose a reason for hiding this comment

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

Put a comma after the last parameter of a multiline method call.

Removes normalizes from rails assets
@nickcharlton
Copy link
Member

Great, thanks! Merging away.

@nickcharlton nickcharlton merged commit 3fbdc34 into thoughtbot:master Jul 7, 2017
@tysongach
Copy link
Contributor

Just curious: what’s the advantage of installing via Yarn instead of Rails Assets?

@nickcharlton
Copy link
Member

Mainly, I feel, that we're doing things the direction Rails is going and the growth of other npm related dependencies which are (presumably) likely on projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants