https://github.com/galaxyproject/galaxy
Raw File
Tip revision: d266bee81d598415f98e900230aa80ad64f1743e authored by John Chilton on 04 July 2020, 15:46:37 UTC
Version 20.5.0 of test-driver (tag galaxy-test-driver-20.5.0).
Tip revision: d266bee
.eslintrc.js
module.exports = {
    extends: [
        "eslint:recommended",
        "plugin:vue/strongly-recommended"
        //"airbnb-base", eventually
    ],
    env: {
        browser: true,
        commonjs: true,
        es6: true,
        node: true,
        mocha: true
    },
    parserOptions: {
        parser: "babel-eslint",
        sourceType: "module"
    },
    rules: {
        // Standard rules
        "no-console": "off",
        "no-unused-vars": ["error", { args: "none" }],
        "prefer-const": "error",
        "one-var": ["error", "never"],

        "vue/valid-v-slot": "error",
        "vue/v-slot-style": ["error", { atComponent: "v-slot", default: "v-slot", named: "longform" }],

        // Vue TODO (enable these)
        "vue/require-default-prop": "warn",
        "vue/require-prop-types": "warn",
        "vue/prop-name-casing": "warn",

        // Prettier compromises/workarounds -- mostly #wontfix?
        "vue/html-indent": "off",
        "vue/max-attributes-per-line": "off",
        "vue/html-self-closing": "off",
        "vue/singleline-html-element-content-newline": "off",
        "vue/multiline-html-element-content-newline": "off",
        "vue/html-closing-bracket-newline": "off",
        "vue/html-closing-bracket-spacing": "off"
    },
    globals: {
        // chai tests
        assert: true,
        expect: true
    }
};
back to top