Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Amphiluke committed May 9, 2024
1 parent 5520e19 commit 07e1169
Show file tree
Hide file tree
Showing 6 changed files with 511 additions and 499 deletions.
30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"liveServer.settings.mount": [
["/lindsvg", "./dist"]
],
"eslint.validate": [
"javascript",
"vue"
]
}
31 changes: 31 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import js from "@eslint/js";
import stylisticJs from "@stylistic/eslint-plugin-js";
import pluginVue from "eslint-plugin-vue";
import globals from "globals";

export default [
{
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
__PACKAGE_VERSION__: "readonly",
...globals.browser,
...globals.nodeBuiltin,
},
},
},
js.configs.recommended,
...pluginVue.configs["flat/recommended"],
{
plugins: {
"@stylistic/js": stylisticJs,
},
rules: {
"@stylistic/js/comma-dangle": ["error", {arrays: "always-multiline", objects: "always-multiline"}],
"@stylistic/js/indent": ["error", 2],
"@stylistic/js/quotes": ["error", "double"],
"@stylistic/js/semi": "error",
},
},
];
Loading

0 comments on commit 07e1169

Please sign in to comment.