Skip to content

Commit

Permalink
Merge pull request #218 from Kitware/eslint-reformat
Browse files Browse the repository at this point in the history
Eslint reformat
  • Loading branch information
jourdain committed Mar 7, 2016
2 parents 0665ec0 + f4681be commit 7369494
Show file tree
Hide file tree
Showing 85 changed files with 4,603 additions and 4,423 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
245 changes: 0 additions & 245 deletions .eslintrc

This file was deleted.

23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
extends: 'airbnb',
rules: {
'array-bracket-spacing': 0,
'guard-for-in': 0,
'max-len': [1, 160, 4, {"ignoreUrls": true}],
'no-console': 0,
'no-multi-spaces': 0,
'no-nested-ternary': 0,
'no-param-reassign': 0,
'no-throw-literal': 0,
'no-unused-vars': [2, { args: 'none' }],
'no-var': 0,
'react/jsx-closing-bracket-location': 1,
'react/jsx-indent-props': 1,
'react/jsx-space-before-closing': 1,
'react/no-is-mounted': 1,
'react/prefer-es6-class': 0,
'react/sort-comp': 0,
'spaced-comment': 1,
'one-var': 0,
}
};
97 changes: 72 additions & 25 deletions dist/HPCCloud.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import routes from './config/routes';
// Setup application and pages
const container = document.querySelector('.react-container');

export function configure(config={ girderAPI: '/api/v1' }) {
render(<Router history={hashHistory} routes={routes}/>, container);
export function configure(config = { girderAPI: '/api/v1' }) {
render(<Router history={hashHistory} routes={routes} />, container);
}
Loading

0 comments on commit 7369494

Please sign in to comment.