]> cat aescling's git repositories - mastodon.git/commitdiff
Use new ESLint filename (.json) (#2248)
authorMingye Wang <arthur200126@gmail.com>
Fri, 21 Apr 2017 14:43:57 +0000 (10:43 -0400)
committerEugen <eugen@zeonfederated.com>
Fri, 21 Apr 2017 14:43:57 +0000 (16:43 +0200)
* 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)

.eslintrc.json [moved from .eslintrc with 100% similarity]
package.json

similarity index 100%
rename from .eslintrc
rename to .eslintrc.json
index 120c620d7da646cb48687810e126f168100ae7c7..c1dbc6e6c64b3b980c9eb1a5b90cd418bdc17e87 100644 (file)
@@ -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": {