Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.js - github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b16c1d5cc6fe21c65267b0273feeac8536c57a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
    parserOptions: {
        ecmaVersion: 2020,
        sourceType: "module",
    },
    extends: ["plugin:vue/recommended"],
    env: {
        node: true,
        jquery: true,
        es2017: true,
        browser: true,
        webextensions: true,
    },
    rules: {
        "no-trailing-spaces": "error",
        "eol-last": "error",
        semi: "error",
        "no-extra-semi": "error",
        "comma-dangle": ["error", "always-multiline"],
        "no-var": "error",
        "prefer-template": "error",
        "template-curly-spacing": "error",
    },
};