diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 00000000..018bf5b8 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,17 @@ +engines: + eslint: + enabled: true + config: .eslintrc + duplication: + enabled: false + config: + languages: + - javascript + fixme: + enabled: true +ratings: + paths: + - "lib/**.js" +exclude_paths: +- data/* +- assets/* \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json index 749e9f17..c8deb27c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,7 +7,7 @@ "extends": "eslint:recommended", "parserOptions": { "sourceType": "module", - "ecmaVersion": 6, + "ecmaVersion": 7, "ecmaFeatures": { "jsx": false } @@ -66,7 +66,7 @@ "string": "String", "number": "Number", "boolean": "Boolean", - "rromise": "Promise", + "promise": "Promise", "array": "Array", "undefined":" Undefined", "null": "Null",