Mercurial > kallithea
view .eslintrc.js @ 8502:3ea3d3a2b3e3 stable
git: make sure _check_url only accept the protocols accepted by is_valid_repo_uri
Avoid unnecessary flexibility, ambiguity, and complexity.
The file protocol was never used. But when cloning existing managed repos,
is_valid_repo_url would be skipped and _check_url would be called with absolute
paths.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 22 Nov 2020 01:32:23 +0100 |
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": { } };