Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiiomiiguel committed Nov 7, 2024
2 parents f514672 + b4154d6 commit d82c316
Show file tree
Hide file tree
Showing 4 changed files with 1,306 additions and 871 deletions.
28 changes: 0 additions & 28 deletions .eslintrc.cjs

This file was deleted.

39 changes: 39 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* eslint-env node */

import vuePlugin from "eslint-plugin-vue";
// import vueA11yPlugin from "eslint-plugin-vuejs-accessibility";
import prettierPlugin from "eslint-plugin-prettier/recommended";
import typescriptConfig from "@vue/eslint-config-typescript";
import prettierConfig from "@vue/eslint-config-prettier";

export default [
// add more generic rulesets here
...vuePlugin.configs["flat/recommended"],
// ...vueA11yPlugin.configs["flat/recommended"],
...typescriptConfig(),
prettierPlugin,
prettierConfig,

// your modifications
{
ignores: ["**/.*", "**/dist"],
rules: {
"@typescript-eslint/no-explicit-any": ["warn"],
"@typescript-eslint/ban-ts-comment": ["warn"],
"@typescript-eslint/explicit-function-return-type": ["warn"],
"vue/padding-line-between-blocks": ["error", "always"],
"vue/multi-word-component-names": ["off"],
"vue/block-order": ["error", { order: ["script", "template", "style"] }],
"vue/block-lang": ["error", { script: { lang: "ts" } }],
"comma-dangle": ["error", "always-multiline"],
"prettier/prettier": [
"error",
{
trailingComma: "all",
endOfLine: "auto",
bracketSameLine: true,
},
],
},
},
];
Loading

0 comments on commit d82c316

Please sign in to comment.