-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa27e88
commit 7c250b1
Showing
393 changed files
with
50,554 additions
and
18,773 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
**/*.d.ts | ||
coverage | ||
dist | ||
myparcel_js_sdk | ||
**/dist | ||
**/tsup.config.bundled_*.mjs | ||
**/vite.config.ts.timestamp-* | ||
node_modules | ||
public | ||
**/*.snap |
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,64 @@ | ||
module.exports = { | ||
root: true, | ||
overrides: [ | ||
{ | ||
files: ['./**/index.ts'], | ||
plugins: ['sort-exports'], | ||
rules: { | ||
'sort-exports/sort-exports': [ | ||
'warn', | ||
{ | ||
sortDir: 'asc', | ||
sortExportKindFirst: 'type', | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
extends: ['@myparcel-eslint/eslint-config-prettier-typescript-vue', '@myparcel-eslint/eslint-config-import'], | ||
files: ['./**/*.vue'], | ||
rules: { | ||
'@typescript-eslint/no-misused-promises': 'off', | ||
// Disabled because import messes with multiple component blocks, like when using script setup and inheritAttrs. | ||
'import/first': 'off', | ||
'vue/html-self-closing': 'off', | ||
'vue/no-bare-strings-in-template': 'off', | ||
// Disabled because @typescript-eslint freaks out when there is no component block | ||
'vue/no-empty-component-block': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['./**/*.ts', './**/*.tsx'], | ||
extends: ['@myparcel-eslint/eslint-config-prettier-typescript', '@myparcel-eslint/eslint-config-import'], | ||
rules: { | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-misused-promises': 'off', | ||
'class-methods-use-this': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['./**/*.js', './**/*.mjs'], | ||
parserOptions: { | ||
sourceType: 'module', | ||
}, | ||
}, | ||
{ | ||
files: ['./**/*.js', './**/*.cjs', './**/*.mjs'], | ||
extends: [ | ||
'@myparcel-eslint/eslint-config-node', | ||
'@myparcel-eslint/eslint-config-esnext', | ||
'@myparcel-eslint/eslint-config-prettier', | ||
'@myparcel-eslint/eslint-config-import', | ||
], | ||
}, | ||
{ | ||
files: ['./**/*.spec.*', './**/*.test.*', './**/__tests__/**', './**/*Test.*'], | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-magic-numbers': 'off', | ||
'max-len': 'off', | ||
'max-lines-per-function': '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
Oops, something went wrong.