summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-22 22:54:58 +0200
committerwinniehell <git@winniehell.de>2016-10-26 10:00:55 +0200
commite5a0d41db0c2871cc9b229aab40de19bdabe1d9e (patch)
tree61df949191908e8ef59baf0bf73e1c9f4f93d9f7 /package.json
parent3d174c7198f103cdedd7c7ffb7678aff1dd4de33 (diff)
downloadgitlab-ce-e5a0d41db0c2871cc9b229aab40de19bdabe1d9e.tar.gz
add ESLint
ESLint config: https://github.com/airbnb/javascript
Diffstat (limited to 'package.json')
-rw-r--r--package.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 00000000000..942b2113e65
--- /dev/null
+++ b/package.json
@@ -0,0 +1,14 @@
+{
+ "private": true,
+ "scripts": {
+ "eslint": "eslint .",
+ "eslint-fix": "eslint --fix ."
+ },
+ "devDependencies": {
+ "eslint": "^3.1.1",
+ "eslint-config-airbnb": "^12.0.0",
+ "eslint-plugin-import": "^2.0.1",
+ "eslint-plugin-jsx-a11y": "^2.2.3",
+ "eslint-plugin-react": "^6.4.1"
+ }
+}