aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Atkinson <[email protected]>2019-10-10 23:24:52 +0100
committerSteven Atkinson <[email protected]>2019-10-10 23:24:52 +0100
commita7d32f7ea6a050ff584b7ae85f03a7e0f599203c (patch)
tree40b365c68f85bee07aa7dc448db9d3cb4ea35e42
parent586c2e20a816362a58d2c1522e00a4d280f89e71 (diff)
downloadfaker-a7d32f7ea6a050ff584b7ae85f03a7e0f599203c.tar.xz
faker-a7d32f7ea6a050ff584b7ae85f03a7e0f599203c.zip
Converted .jshintrc to .eslintrc using polyjuice.
-rw-r--r--.eslintrc53
1 files changed, 53 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 00000000..079dc0e3
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,53 @@
+{
+ "env": {
+ "browser": true,
+ "jquery": true,
+ "mocha": true,
+ "node": true
+ },
+ "globals": {},
+ "rules": {
+ "no-multi-str": 2,
+ "no-debugger": 0,
+ "strict": 0,
+ "semi": 0,
+ "linebreak-style": 0,
+ "no-bitwise": 2,
+ "no-cond-assign": 0,
+ "curly": 2,
+ "eqeqeq": 0,
+ "no-eq-null": 0,
+ "no-eval": 0,
+ "no-unused-expressions": 0,
+ "guard-for-in": 0,
+ "wrap-iife": [
+ 2,
+ "any"
+ ],
+ "no-use-before-define": [
+ 2,
+ {
+ "functions": false
+ }
+ ],
+ "no-loop-func": 2,
+ "no-caller": 2,
+ "no-script-url": 2,
+ "no-shadow": 2,
+ "no-new-func": 0,
+ "no-new-wrappers": 0,
+ "no-undef": 2,
+ "new-cap": 0,
+ "no-empty": 2,
+ "no-new": 0,
+ "no-plusplus": 0,
+ "dot-notation": 0,
+ "indent": [
+ 2,
+ 4,
+ {
+ "SwitchCase": 1
+ }
+ ]
+ }
+}