Skip to content

Updated eslint-config-shakacode to 13.2.0 #344

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 2 commits into from
Nov 25, 2016
Merged

Updated eslint-config-shakacode to 13.2.0 #344

merged 2 commits into from
Nov 25, 2016

Conversation

justin808
Copy link
Member

@justin808 justin808 commented Nov 24, 2016

Autofixer makes this easy to update to latest.

Be sure to run

npm run lint -- --fix

and you will be updated!


This change is Reviewable

@justin808
Copy link
Member Author

@robwise @alexfedoseev @dylangrafmyre FYI, this is a sort of a big change. Don't apply this to any times there are many branches pending. However, if all branches run the autofix, you'd be fine.

@@ -2,7 +2,7 @@ import Alert from 'react-bootstrap/lib/Alert';
import BaseComponent from 'libs/components/BaseComponent';
import Immutable from 'immutable';
import React, { PropTypes } from 'react';
import ReactCSSTransitionGroup from 'react/lib/ReactCSSTransitionGroup';
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
Copy link
Member Author

Choose a reason for hiding this comment

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

@@ -16,13 +16,26 @@

# Forms
shared_context "Horizontal Form", form: :horizontal do
background { click_link "Horizontal Form" }
background do
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @dylangrafmyre you might want to try some of this in our projects.

@@ -6,6 +6,7 @@
require File.expand_path("../../config/environment", __FILE__)
require "rspec/rails"
require "capybara/rspec"
require "capybara/poltergeist"
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @dylangrafmyre you might want to try some of this in our projects

'-o-animation: none !important;' +
'-moz-animation: none !important;' +
'-ms-animation: none !important;' +
'-webkit-animation: none !important;';
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @dylangrafmyre you might want to try some of this in our projects

PhantomJSRestart.call
puts "=" * 80
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @dylangrafmyre you might want to try some of this in our projects

Big change is that trailing commas are the default for function calls.

Autofixer makes this easy!

Be sure to run

npm run lint -- --fix

and you will be updated!

NOTE: Webpack config files must not have this set as of now, or else you
get a syntax error.

Webpack files need this, as they error if there's a trailing comma for
function calls!

/* eslint comma-dangle: ["error",
  {"functions": "never", "arrays": "only-multiline", "objects":
"only-multiline"} ] */
* Seeting default driver to poltergeist_errors_ok
* Added file to make poltergeist retry
* more on the poltergeist trap Errno::EPIPE
* add travis to slack integration
* Change react-addons-css-transition-group
* Update npm version
* Update shrinkwrap
* set npm to 4.0.2
* add npm install
* Update node version 7.2.0
* travis runs poltergeist_errors_ok
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.

1 participant