♻️ (app)

This commit is contained in:
Julien Calixte
2023-08-14 14:08:10 +02:00
parent 111794a40b
commit c0182c7f57
24 changed files with 4281 additions and 2108 deletions

View File

@@ -1,5 +1,8 @@
require('@rushstack/eslint-patch/modern-module-resolution')
const DEV_TOOL_ACTIVATED =
process.env.NODE_ENV === 'production' ? 'warn' : 'off'
module.exports = {
root: true,
env: {
@@ -11,13 +14,12 @@ module.exports = {
'eslint:recommended',
'plugin:vue/recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/eslint-config-typescript',
'plugin:prettier-vue/recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-console': DEV_TOOL_ACTIVATED,
'no-debugger': DEV_TOOL_ACTIVATED,
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/camelcase': 'off',
'prettier-vue/prettier': [
@@ -29,7 +31,6 @@ module.exports = {
arrowParens: 'always'
}
],
semi: 0,
'vue/no-v-html': 'off',
'no-restricted-imports': [
'error',