diff options
author | Unknown | 2018-06-06 13:32:41 +0100 |
---|---|---|
committer | Unknown | 2018-06-06 13:32:41 +0100 |
commit | b7a5bb5b621335084aeb23cd0e20c332cfd89c68 (patch) | |
tree | a119e906c2435852f585f674bd6cb94a9995a9fc /.eslintrc.js | |
parent | c3eb6ee14467f0a82fb9625f58a02017aa1bd949 (diff) |
is this how you travis ci and lint
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..585551a --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,21 @@ +module.exports = { + "env": { + "browser": true, + "es6": true + }, + "extends": "eslint:recommended", + "rules": { + "indent": ["error", 2], + "linebreak-style": ["error", "unix"], + "quotes": ["error", "double", {"allowTemplateLiterals": true}], + "semi": ["error", "always"], + "no-console": 0 + }, + "parserOptions": { + "ecmaVersion": 2017 + }, + globals: { + "$log": function(a){}, + "le": {apps: {}} + } +};
\ No newline at end of file |