forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Debug UI] ESLint and Prettier for the debug UI code. (near#8594)
Also corrects all the code that violates any issues found by ESLint and Prettier.
- Loading branch information
1 parent
7e71791
commit 099109f
Showing
36 changed files
with
2,657 additions
and
1,269 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,32 @@ | ||
env: | ||
browser: true | ||
es2021: true | ||
extends: | ||
- eslint:recommended | ||
- plugin:react/recommended | ||
- plugin:react/jsx-runtime | ||
- plugin:@typescript-eslint/recommended | ||
- plugin:import/recommended | ||
- plugin:import/typescript | ||
- prettier | ||
overrides: [] | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
ecmaVersion: latest | ||
sourceType: module | ||
plugins: | ||
- react | ||
- '@typescript-eslint' | ||
rules: | ||
import/order: | ||
- error | ||
"@typescript-eslint/no-non-null-assertion": | ||
- off | ||
"@typescript-eslint/no-unused-vars": | ||
- error | ||
settings: | ||
import/resolver: | ||
typescript: true | ||
node: true | ||
react: | ||
version: detect |
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,6 @@ | ||
{ | ||
"printWidth": 100, | ||
"tabWidth": 4, | ||
"singleQuote": true, | ||
"bracketSameLine": true | ||
} |
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.