Skip to content

Commit

Permalink
fix(nuxt-3): prepare for nuxt@3
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Jul 3, 2023
1 parent 3415664 commit 7e9abca
Show file tree
Hide file tree
Showing 133 changed files with 27,647 additions and 39,569 deletions.
54 changes: 27 additions & 27 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,42 @@
"@nuxtjs",
"plugin:security/recommended",
"plugin:sonarjs/recommended",
"plugin:no-unsanitized/DOM"
"plugin:no-unsanitized/DOM",
"plugin:jsonc/recommended-with-json",
"prettier"
],
"overrides": [
{
"files": [
"*.code-workspace",
"*.json",
"*.json5",
"*.jsonc"
],
"parser": "jsonc-eslint-parser"
}
],
"plugins": [
"no-secrets",
"xss"
"xss",
"prettier"
],
"rules": {
"semi": [
2,
"always"
],
"prettier/prettier": "error",
"no-secrets/no-secrets": [
"error"
],
"xss/no-location-href-assign": 2,
"xss/no-mixed-html": 0,
"semi": [
2,
"always"
],
"complexity": [
"vue/no-v-html": "off",
"vue/component-definition-name-casing": [
"error",
{
"max": 7
}
"PascalCase"
],
"vue/no-v-html": "off",
"vue/component-name-in-template-casing": [
"error",
"kebab-case",
Expand All @@ -41,20 +54,7 @@
}
],
"sonarjs/no-duplicate-string": 0,
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1
}
],
"padded-blocks": [
"error",
"never"
],
"no-debugger": 1,
"no-console": 1,
"no-empty-function": "error",
"vue/multi-word-component-names": "off"
"vue/multi-word-component-names": "off",
"@typescript-eslint/no-unused-vars": "off"
}
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ sw.*
env/cert/*
!env/cert/README.md
.env

dist
.output
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.0
19.5.0
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"arrowParens": "avoid",
"bracketSameLine": true,
"trailingComma": "none",
"singleQuote": true,
"semi": true,
"printWidth": 80
}
22 changes: 3 additions & 19 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,14 @@
"extends": [
"stylelint-config-standard",
"stylelint-config-recess-order",
"stylelint-config-css-modules",
"stylelint-config-lost"
],
"customSyntax": "postcss-html",
"ignoreFiles": [
"./**/*.js"
],
"rules": {
"no-empty-source": null,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"block-closing-brace-empty-line-before": null,
"max-empty-lines": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"max-line-length": null,
"no-descending-specificity": null,
"value-keyword-case": [
"lower",
Expand Down Expand Up @@ -59,6 +43,6 @@
"v-deep"
]
}
],
]
}
}
}
43 changes: 0 additions & 43 deletions .svgorc.yml

This file was deleted.

Loading

0 comments on commit 7e9abca

Please sign in to comment.