Skip to content

Commit

Permalink
setup
Browse files Browse the repository at this point in the history
git commit -m setup
git commit -m setup
  • Loading branch information
TonyPanczenko committed Oct 22, 2022
1 parent 6272f35 commit 33c98ac
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
'root': true,
'env': {
'browser': true,
'es2022': true
},
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript'
],
'parserOptions': {
'sourceType': 'module'
},
'rules': {
'indent': [
'error',
2
],
'linebreak-style': [
'off',
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
],
'max-len': ['error', {
code: 120,
ignoreTrailingComments: true
}
],
'vue/max-attributes-per-line': ['error', {
'singleline': {
'max': 3
},
'multiline': {
'max': 1
}
}],
'vue/html-indent': ['error', 'tab', {
'attribute': 1,
'baseIndent': 1,
'closeBracket': {
startTag: 0,
endTag: 0,
selfClosingTag: 0,
},
'alignAttributesVertically': true,
'ignores': []
}]
},
'ignorePatterns': ['dist/*'],
settings: {
'import/resolver': {
alias: {
map: [
['@', './src'],
],
}
}
}
};
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist/*
dist-ssr
coverage
*.local

cypress/videos/
cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
}

0 comments on commit 33c98ac

Please sign in to comment.