diff options
author | varjolintu <sami.vanttinen@protonmail.com> | 2020-02-15 21:17:10 +0300 |
---|---|---|
committer | varjolintu <sami.vanttinen@protonmail.com> | 2020-02-28 15:33:45 +0300 |
commit | cc51d166aa6ea322310d722aa379cb1842addd04 (patch) | |
tree | 5dc6348094030aec78958f2822f890ba79e1faf2 /.eslintrc | |
parent | b08966c6fd709e334962e661e43b40ce1345ddfe (diff) |
UI redesign
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..1ea5164 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,116 @@ +{ + "extends": ["eslint-config-airbnb-base" ], + "env": { + "browser": true, + "es6": true, + "jquery": true, + "webextensions": true + }, + "parserOptions": { + "ecmaVersion": 2017 + }, + "rules": { + "array-bracket-spacing": ["error", "always"], + "arrow-body-style": "warn", + "arrow-parens": "off", + "arrow-spacing": "warn", + "block-scoped-var": "off", + "brace-style": ["warn", "1tbs"], + "camelcase": "warn", + "comma-dangle": "off", + "computed-property-spacing": ["error", "never"], + "consistent-return": "off", + "dot-notation": "off", + "eqeqeq": "error", + "func-names": "off", + "guard-for-in": "off", + "indent": ["error", 4], + "linebreak-style": ["error", "unix"], + "lines-around-comment": "off", + "max-len": "off", + "no-alert": "error", + "no-await-in-loop": "off", + "no-bitwise": "off", + "no-console": "off", + "no-continue": "off", + "no-control-regex": "off", + "no-global-assign": "off", + "no-else-return": "off", + "no-extend-native": "off", + "no-lonely-if": "off", + "no-loop-func": "off", + "no-mixed-operators": "off", + "no-mixed-spaces-and-tabs": ["error", "smart-tabs"], + "no-multi-spaces": "warn", + "no-param-reassign": "off", + "no-plusplus": "off", + "no-prototype-builtins": "off", + "no-restricted-globals": "off", + "no-restricted-syntax": "off", + "no-return-await": "off", + "no-tabs": "warn", + "no-use-before-define": "off", + "no-useless-escape": "off", + "no-useless-return": "off", + "no-var": "off", + "no-underscore-dangle": "off", + "no-unused-vars": "warn", + "object-curly-spacing": ["warn", "always"], + "object-shorthand": "off", + "operator-linebreak": ["error", "before"], + "quote-props": "off", + "quotes": ["error", "single"], + "prefer-arrow-callback": "off", + "prefer-destructuring": "off", + "prefer-template": "off", + "semi": ["error", "always"], + "space-before-blocks": "warn", + "space-before-function-paren": "off", + "space-in-parens": ["error", "never"], + "space-unary-ops": "off", + "spaced-comment": "off", + "strict": "off", + "vars-on-top": "off" + }, + "globals": { + "_called": true, + "_f": true, + "AssociatedAction": true, + "browser": true, + "browserAction": true, + "createStylesheet": true, + "httpAuth": true, + "Icon": true, + "isEdge": true, + "isFirefox": true, + "IGNORE_FULL": true, + "IGNORE_NORMAL": true, + "IGNORE_NOTHING": true, + "initColorTheme": true, + "jQuery": true, + "keepass": true, + "kpxc": true, + "kpxcAutocomplete": true, + "kpxcBanner": true, + "kpxcDefine": true, + "kpxcFields": true, + "kpxcEvent": true, + "kpxcPasswordDialog": true, + "kpxcPasswordIcons": true, + "kpxcSites": true, + "kpxcTOTPIcons": true, + "kpxcUsernameIcons": true, + "kpxcUI": true, + "kpxcUsernameField": true, + "ManualFill": true, + "nacl": true, + "page": true, + "Pixels": true, + "showNotification": true, + "siteMatch": true, + "slashNeededForUrl": true, + "statusResponse": true, + "tr": true, + "trimURL", true + } +} |