Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Kypaku committed Feb 6, 2023
1 parent b67bf8e commit 14a8619
Show file tree
Hide file tree
Showing 19 changed files with 3,649 additions and 634 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
86 changes: 69 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,70 @@
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential',
'@vue/standard',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}
root: true,
env: {
browser: true,
node: true
},
extends: [
// "@nuxtjs/eslint-config-typescript",
// "plugin:nuxt/recommended",
// "plugin:codeceptjs/recommended"
"plugin:vue/essential",
"@vue/standard",
"@vue/typescript/recommended"
],
plugins: [
],
// add your custom rules here
rules: {
indent: ["warn", 4],
"vue/script-indent": ["warn", 4, {
baseIndent: 1,
switchCase: 0,
ignores: []
}],
camelcase: "warn",
"no-lonely-if": "warn",
"no-trailing-spaces": "warn",
"no-cond-assign": "warn",
"no-throw-literal": "warn",
"prefer-regex-literals": "warn",
"no-multiple-empty-lines": "warn",
"no-useless-escape": "warn",
"vue/multi-word-component-names": "warn",
"no-return-assign": "warn",
"object-curly-spacing": "warn",
"quote-props": "warn",
"vue/html-indent": ["warn", 4],
"vue/this-in-template": ["error", "never"],
"comma-dangle": "off",
"vue/html-self-closing": "off",
"vue/custom-event-name-casing": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/attributes-order": "off",
"vue/order-in-components": "off",
"space-before-function-paren": "off",
"vue/no-v-model-argument": "off",
// 'codeceptjs/no-actor-in-scenario': 2
semi: ["warn", "always"],
quotes: ["warn", "double"],
"@typescript-eslint/no-unused-vars": "off",
"no-unused-vars": "off",
"require-await": "off",
"no-console": "off"

},
overrides: [
{
files: ["*.vue"],
rules: {
indent: "off"
}
},
{
files: ["*.js"],
rules: {
"no-unused-expressions": "off",
}
},
],
};
2 changes: 2 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove-Item -Recurse ./dist
npm run build
Loading

0 comments on commit 14a8619

Please sign in to comment.