Skip to content

Commit

Permalink
More linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Sep 20, 2015
1 parent d823cad commit 65be636
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"stage": 0
}
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace :lint do

desc "Run jscs from shell"
task :jscs do
sh "jscs ."
sh "jscs -e ."
end

task lint: [:eslint, :rubocop, :ruby, :jscs, :scss] do
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/client/app/components/HelloWorldRedux.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default class HelloWorldRedux extends React.Component {

render() {
const { name } = this.props.helloWorldData;

// Same:
// const name = this.props.helloWorldData.name;

Expand Down
6 changes: 4 additions & 2 deletions spec/dummy/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
"webpack": "^1.10.1"
},
"devDependencies": {
"babel-eslint": "^4.0.10",
"babel-eslint": "^4.1.3",
"eslint": "^1.2.1",
"eslint-config-airbnb": "0.0.8",
"eslint-plugin-react": "^3.2.3"
"eslint-plugin-react": "^3.4.2",
"esprima-fb": "^15001.1001.0-dev-harmony-fb",
"jscs": "^2.1.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/client/webpack.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');

module.exports = {
entry: [
'startup/clientGlobals'
'startup/clientGlobals',
],
output: {
path: '../app/assets/javascripts/generated',
Expand Down

0 comments on commit 65be636

Please sign in to comment.