From 44952a713db5b882a885b8057f93a7892e8de587 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Thu, 13 Aug 2015 12:40:32 -0400 Subject: [PATCH] add eslintrc --- .eslintrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .eslintrc diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..94f1f2a --- /dev/null +++ b/.eslintrc @@ -0,0 +1,22 @@ +{ + "env": { + "browser": true + }, + "rules": { + "indent": [2, 2], + "brace-style": [2, "1tbs"], + "quotes": [2, "single"], + "no-console": 0, + "no-shadow": 0, + "no-use-before-define": [2, "nofunc"], + "no-underscore-dangle": 0, + "no-constant-condition": 0, + "space-after-function-name": 0, + "consistent-return": 0 + }, + "globals": { + "L": false, + "cw": false, + "shp": false + } +}