File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,8 @@ may have to delete `node_modules` and `npm-shrinkwrap.json` and then run `npm
229
229
shrinkwrap`.
230
230
231
231
# Running Tests
232
+ * Default rake task runs tests and linting*
233
+
232
234
We have feature tests in /spec/features
233
235
234
236
Run the tests with ` rspec ` .
@@ -256,7 +258,8 @@ QMAKE=/usr/local/Cellar/qt5/5.4.0/bin/qmake bundle install
256
258
Then run ` rspec ` and you should see the tests have passed.
257
259
258
260
# Linting and Code Inspection
259
- * See file [ README.md] ( client/README.md ) for how to run ESLint
261
+ * Default rake task runs tests and linting (yes, repeating this!)
262
+ * See file [ README.md] ( client/README.md ) for how to run ESLint and JSCS
260
263
* Create a custom scope like this for RubyMine, named "Inspection Scope"
261
264
262
265
file[ react-rails-tutorial] :* /&&!file[ react-rails-tutorial] : tmp //* &&!file[ react-rails-tutorial] : log //* &&!file[ react-rails-tutorial] : client /node_modules//* &&!file[ react-rails-tutorial] : client /assets/fonts//* &&!file[ react-rails-tutorial] : app /assets/fonts//* &&!file[ react-rails-tutorial] : bin //* &&!file[ react-rails-tutorial] : app /assets/javascripts//*
Original file line number Diff line number Diff line change 1
1
Please see parent directory README.md.
2
2
3
- (We may move client side specific README material here in the near future).
3
+ ESLint
4
+ ==========================
5
+ The ` .eslintrc ` file is based on the AirBnb [ eslintrc] ( https://github.com/airbnb/javascript/blob/master/linters/.eslintrc ) .
4
6
7
+ It also includes many eslint defaults that the AirBnb eslint does not include.
5
8
6
9
Running linter:
7
10
===========================
You can’t perform that action at this time.
0 commit comments