diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..c2d7653c9b567e39c779814d8be375d7b80eda98 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,43 @@ +{ + "env": { + "node": true, + "mocha": true, + "es6": true + }, + "extends": [ + "eslint:recommended" + ], + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "quotemark": false, + "ordered-imports": false, + "no-var-requires": false, + "indent": [ + "error", + 2 + ], + "no-console": 0, + "eofline": false, + "no-unused-variable": true, + "no-unused-expression": true, + "only-arrow-functions": false, + "space-before-function-paren": 0, + "trailing-comma": [ + true, + "never" + ], + "object-literal-sort-keys": false, + "semi": [ + "warn", + "never" + ], + "space-infix-ops": [ + "warn" + ], + "no-var": "error", + "prefer-const": "error", + "no-trailing-spaces": "error" + } +} \ No newline at end of file