-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #515 from patrick11514/master
Swap rollup with vite for building and watching code, added support for Vue, linting
- Loading branch information
Showing
11 changed files
with
2,777 additions
and
1,783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/node_modules/ | ||
/public/build/ | ||
|
||
.DS_Store | ||
|
||
# Vite timestamp files | ||
vite.config.mjs.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"useTabs": false, | ||
"tabWidth": 4, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 180, | ||
"semi": true, | ||
"plugins": ["prettier-plugin-vue"], | ||
"overrides": [{ "files": "*.vue", "options": { "parser": "vue", "vueExcludeBlocks": [] } }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import js from '@eslint/js'; | ||
import prettier from 'eslint-config-prettier'; | ||
import pluginVue from 'eslint-plugin-vue'; | ||
import ts from 'typescript-eslint'; | ||
|
||
/** @type {import("eslint").Linter.Config} */ | ||
export default [ | ||
js.configs.recommended, | ||
...ts.configs.recommended, | ||
...pluginVue.configs['flat/recommended'], | ||
prettier, | ||
{ | ||
ignores: ['node_modules', 'rollup.config.js', 'package-lock.json', 'pnpm-lock.yaml', 'rollup.config.js'] | ||
}, | ||
{ | ||
files: ['*.vue', '**/*.vue'], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser' | ||
} | ||
}, | ||
rules: { | ||
'vue/multi-word-component-names': 'off' | ||
} | ||
}, | ||
{ | ||
rules: { | ||
'no-prototype-builtins': 'off' | ||
} | ||
} | ||
]; |
Oops, something went wrong.