-
-
Notifications
You must be signed in to change notification settings - Fork 9
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 #33 from stellar-comet/main
Release v2.1.2
- Loading branch information
Showing
170 changed files
with
3,876 additions
and
1,594 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 |
---|---|---|
@@ -0,0 +1,105 @@ | ||
/* eslint-env node */ | ||
|
||
const { defineConfig } = require('eslint-define-config'); | ||
const prettierConfig = require('./.prettierrc.js'); | ||
|
||
module.exports = defineConfig({ | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
jest: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/electron', | ||
'plugin:import/typescript', | ||
'prettier', | ||
'@vue/eslint-config-typescript', | ||
'plugin:vue/vue3-essential', | ||
'plugin:vuejs-accessibility/recommended', | ||
], | ||
plugins: ['prettier', 'vuejs-accessibility', '@typescript-eslint'], | ||
parser: 'vue-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
}, | ||
rules: { | ||
indent: [ | ||
'error', | ||
2, | ||
{ | ||
SwitchCase: 1, | ||
}, | ||
], | ||
'max-len': [ | ||
'error', | ||
{ | ||
code: 120, | ||
}, | ||
], | ||
'no-console': [ | ||
'error', | ||
{ | ||
allow: ['warn', 'error'], | ||
}, | ||
], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'space-before-function-paren': [ | ||
'warn', | ||
{ | ||
anonymous: 'ignore', | ||
named: 'never', | ||
asyncArrow: 'always', | ||
}, | ||
], | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
...prettierConfig, | ||
}, | ||
], | ||
'vue/html-indent': ['error', 2], | ||
'vue/multiline-html-element-content-newline': 'off', | ||
'vue/multi-word-component-names': 'off', | ||
'vue/max-attributes-per-line': 0, | ||
'vue/require-default-prop': 0, | ||
'vue/no-multiple-template-root': 0, | ||
'@typescript-eslint/no-unused-vars': [ | ||
'warn', | ||
{ | ||
varsIgnorePattern: '^_$', | ||
argsIgnorePattern: '^_$', | ||
}, | ||
], | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: { | ||
alwaysTryTypes: true, | ||
project: './tsconfig.json', | ||
}, | ||
}, | ||
}, | ||
ignorePatterns: ['*.test.ts'], | ||
overrides: [ | ||
{ | ||
files: ['tests/**/*'], | ||
env: { | ||
jest: true, | ||
}, | ||
}, | ||
{ | ||
files: ['*.vue'], | ||
rules: { | ||
'max-len': 'off', | ||
}, | ||
}, | ||
], | ||
}); |
This file was deleted.
Oops, something went wrong.
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
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,32 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release | ||
- feature/* | ||
pull_request: | ||
branches: | ||
- main | ||
- release | ||
- feature/* | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Lint app | ||
run: npm run lint |
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 @@ | ||
auto-install-peers = true |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
module.exports = { | ||
semi: true, | ||
trailingComma: 'all', | ||
singleQuote: true, | ||
printWidth: 120, | ||
tabWidth: 2, | ||
useTabs: false, | ||
endOfLine: 'auto', | ||
spaceBeforeFunctionParen: false | ||
} |
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,3 +1,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
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
Oops, something went wrong.