kamilcraft-cv/.eslintrc.cjs
Kamil Niemczycki 7a5412368f
- Added eslint and prettier
* - add eslint and prettier

* - reformatted code

* - update readme
2023-08-07 12:20:06 +02:00

18 lines
446 B
JavaScript

module.exports = {
env: {
node: true,
},
extends: [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:prettier/recommended",
],
plugins: ["vue", "html", "prettier"],
rules: {
"prettier/prettier": "error",
"vue/multi-word-component-names": 0,
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
},
};