Browse Source

Use new ESLint filename (.json) (#2248)

* Use new ESLint filename (.json)

Codeclimate's ESLint 3 is complaining about the old filename. Let me try changing it.

* point eslint to new rc

(squash this)
Mingye Wang 7 years ago
parent
commit
b00f4a0cf3
2 changed files with 1 additions and 1 deletions
  1. 0 0
      .eslintrc.json
  2. 1 1
      package.json

+ 0 - 0
.eslintrc → .eslintrc.json


+ 1 - 1
package.json

@@ -5,7 +5,7 @@
     "start": "babel-node ./streaming/index.js --presets es2015,stage-2",
     "storybook": "start-storybook -p 9001 -c storybook",
     "test": "npm run test:lint && npm run test:mocha",
-    "test:lint": "eslint -c .eslintrc --ext=js --ext=jsx app/assets/javascripts/",
+    "test:lint": "eslint -c .eslintrc.json --ext=js --ext=jsx app/assets/javascripts/",
     "test:mocha": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx"
   },
   "dependencies": {