0.0.1 • Published 4 years ago

@robbinbaauw/eslint-config v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

eslint-config

Installation

yarn add @robbinbaauw/eslint-config --dev

Usage

Vue project

.eslintrc.js

module.exports = {
    root: true,
    env: {
        node: true
    },
    extends: [
        "plugin:vue/vue3-recommended",
        "eslint:recommended",
        "@vue/typescript/recommended",
        "@vue/prettier",
        "@robbinbaauw"
    ],
    parser: "vue-eslint-parser",
    parserOptions: {
        ecmaVersion: 2020
    },
};

Typescript project

.eslintrc.js

module.exports = {
    extends:  ["@robbinbaauw"],
};