@robbinbaauw/eslint-config
v0.0.1
Published
My personal ESLint config
Downloads
5
Readme
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"],
};