-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* eslint-plugin-svelte3 to eslint-plugin-svelte migration (last Svelte 3 dep) * fix eslint errors * fix structure controls atom_radius, same_size_atoms show input type=number next to each structure control input type=range * move structure tips_modal to StructureLegend * add structure controls to toggle show_atoms, show_bonds * finish bond_radius slider * add structure control auto_rotate slider
- Loading branch information
Showing
12 changed files
with
210 additions
and
106 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 |
---|---|---|
@@ -1,28 +1,25 @@ | ||
root: true | ||
env: | ||
browser: true | ||
es2020: true | ||
node: true | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
sourceType: module | ||
ecmaVersion: latest | ||
plugins: [svelte3, '@typescript-eslint'] | ||
extends: | ||
- plugin:svelte/recommended | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/recommended | ||
overrides: | ||
- files: ['*.svelte'] | ||
processor: svelte3/svelte3 | ||
settings: | ||
svelte3/typescript: true | ||
parser: svelte-eslint-parser | ||
parserOptions: | ||
parser: '@typescript-eslint/parser' | ||
rules: | ||
indent: [error, 2, SwitchCase: 1] | ||
'@typescript-eslint/quotes': [error, backtick, avoidEscape: true] | ||
semi: [error, never] | ||
linebreak-style: [error, unix] | ||
no-console: [error, allow: [warn, error]] | ||
no-var: error | ||
# allow triple slash for typescript file referencing https://git.io/JCeqO | ||
spaced-comment: [error, always, { markers: [/] }] | ||
'@typescript-eslint/no-inferrable-types': off | ||
'@typescript-eslint/no-unused-vars': | ||
[error, { argsIgnorePattern: ^_, varsIgnorePattern: ^_ }] | ||
svelte/no-at-html-tags: off | ||
no-inner-declarations: off | ||
ignorePatterns: [build/, dist/] |
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
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
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.