Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: airbnb
plugins:
- react
- jsx-a11y
- import
rules:
semi: off
2 changes: 2 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require('es6-promise').polyfill()

/* eslint-disable */

// Example webpack configuration with asset fingerprinting in production.
'use strict';

Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"chai-enzyme": "^0.6.1",
"cheerio": "^0.22.0",
"enzyme": "^2.7.0",
"eslint": "^3.17.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.0",
"jquery": "^3.1.1",
"jsdom": "^9.9.1",
"mocha": "^3.2.0",
Expand All @@ -52,6 +57,7 @@
},
"scripts": {
"test": "mocha test/helpers/browser.js test/**/*.spec.js --compilers js:babel-register",
"heroku-postbuild": "cp config/database.yml.heroku config/database.yml"
"heroku-postbuild": "cp config/database.yml.heroku config/database.yml",
"eslint": "./node_modules/.bin/eslint app/assets/javascripts"
}
}