diff options
| author | Andre Heinecke <[email protected]> | 2018-08-22 13:15:35 +0200 |
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2018-08-22 13:15:35 +0200 |
| commit | 59ed27bae14da6c1ba6848b34acfc836846a27bc (patch) | |
| tree | f9efc016f561129c4c02f41bf0e84b566883d6eb /lang/js/.eslintrc.json | |
| parent | json: Add proper decrypt_result_t handling (diff) | |
| parent | js: changed verify signature result infos (diff) | |
| download | gpgme-59ed27bae14da6c1ba6848b34acfc836846a27bc.tar.gz gpgme-59ed27bae14da6c1ba6848b34acfc836846a27bc.zip | |
Merge branch 'javascript-binding'
This adds a new language binding "gpgme.js" to GPGME. It
serves as a bridge between the native-messaging service "gpgme-json"
and JavaScript Applications.
The first user of this binding will be Mailvelope which will
see GnuPG integration in the near future.
GnuPG-Bug-Id: T4107
Diffstat (limited to 'lang/js/.eslintrc.json')
| -rw-r--r-- | lang/js/.eslintrc.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lang/js/.eslintrc.json b/lang/js/.eslintrc.json new file mode 100644 index 00000000..dc3be2e4 --- /dev/null +++ b/lang/js/.eslintrc.json @@ -0,0 +1,49 @@ +{ + "env": { + "browser": true, + "es6": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "indent": [ + "warn", + 4 + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "error", + "single" + ], + "semi": [ + "error", + "always" + ], + "no-var": [ + "warn" + ], + "max-len": 1, + "default-case": 2, + "no-invalid-this": 2, + "no-lone-blocks": 1, + "no-self-compare": 2, + "radix": 2, + "no-use-before-define": ["error", { + "functions": false, + "classes": false, + "variables": true + }], + "no-useless-constructor": 1, + "space-before-function-paren": ["error", "always"], + "keyword-spacing": 2, + "spaced-comment": 1, + "space-unary-ops": 2, + "object-curly-spacing": ["error", "always"], + "array-bracket-spacing": ["error", "never"] + } +}
\ No newline at end of file |
