view .eslintrc.js @ 8456:eca0cb56a822 stable

py3: fix rc_types error Spotted by pytypes: File "kallithea/bin/base.py", line 133, in make_config: Function BinaryIO.write was called with the wrong arguments [wrong-arg-types] Expected: (self, s: Union[bytearray, bytes, memoryview]) Actually passed: (self, s: str)
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 26 Jul 2020 00:03:12 +0200
parents 4d36432bf705
children
line wrap: on
line source

module.exports = {
    "env": {
        "browser": true,
        "es6": true,
        "jquery": true
    },
    "extends": "eslint:recommended",
    "globals": {
        "Atomics": "readonly",
        "SharedArrayBuffer": "readonly"
    },
    "parserOptions": {
        "ecmaVersion": 2018,
        "sourceType": "module"
    },
    "plugins": [
        "html"
    ],
    "rules": {
    }
};