diff options
Diffstat (limited to 'web/.eslintrc')
-rw-r--r-- | web/.eslintrc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/web/.eslintrc b/web/.eslintrc new file mode 100644 index 00000000..bacc506c --- /dev/null +++ b/web/.eslintrc @@ -0,0 +1,27 @@ +{
+ "extends": "crockford",
+
+ // Custom Globals
+ "globals" : {
+ "Ext" : false,
+ "ol" : false,
+ "Traccar" : false,
+ "Strings" : false,
+ "Locale" : false,
+ "proj4" : false
+ },
+
+ "rules": {
+ "indent": ["error", 4,
+ {
+ "SwitchCase":1
+ }
+ ],
+ "dot-notation": 0,
+ "comma-spacing": [2,
+ {
+ "after": true
+ }
+ ]
+ }
+}
\ No newline at end of file |