-
-
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 #42 from Thavarshan/main
Release v2.2.2
- Loading branch information
Showing
26 changed files
with
2,165 additions
and
2,458 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Help & Support | ||
url: https://github.com/stellar-comet/comet/discussions | ||
url: https://github.com/Thavarshan/comet/discussions | ||
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:' |
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 |
---|---|---|
|
@@ -6,5 +6,4 @@ module.exports = { | |
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
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,70 @@ | ||
const js = require('@eslint/js'); | ||
const prettierPlugin = require('eslint-plugin-prettier'); | ||
const typescriptEslintPlugin = require('@typescript-eslint/eslint-plugin'); | ||
const vuePlugin = require('eslint-plugin-vue'); | ||
const vueAccessibilityPlugin = require('eslint-plugin-vuejs-accessibility'); | ||
const typescriptEslintParser = require('@typescript-eslint/parser'); | ||
const vueEslintParser = require('vue-eslint-parser'); | ||
const prettierConfig = require('./.prettierrc.js'); | ||
|
||
module.exports = [ | ||
js.configs.recommended, // Use @eslint/js for recommended configs | ||
{ | ||
files: ['**/*.js', '**/*.ts', '**/*.vue'], | ||
languageOptions: { | ||
ecmaVersion: 2021, | ||
sourceType: 'module', | ||
parser: vueEslintParser, // Parser for Vue files | ||
parserOptions: { | ||
parser: typescriptEslintParser, // Parser for TypeScript files | ||
}, | ||
globals: { | ||
browser: true, | ||
node: true, | ||
jest: true, | ||
}, | ||
}, | ||
plugins: { | ||
prettier: prettierPlugin, | ||
'@typescript-eslint': typescriptEslintPlugin, | ||
vue: vuePlugin, | ||
'vuejs-accessibility': vueAccessibilityPlugin, | ||
}, | ||
rules: { | ||
'no-undef': 'off', | ||
'no-unused-vars': 'off', | ||
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, | ||
'vue/max-len': 'off', | ||
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_$', argsIgnorePattern: '^_$' }], | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: { alwaysTryTypes: true, project: './tsconfig.json' }, | ||
}, | ||
}, | ||
ignores: ['*.test.ts'], | ||
}, | ||
{ | ||
files: ['tests/**/*'], | ||
languageOptions: { | ||
globals: { jest: true }, | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.vue'], | ||
rules: { | ||
'max-len': 'off', | ||
}, | ||
}, | ||
]; |
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
Oops, something went wrong.