-
Notifications
You must be signed in to change notification settings - Fork 305
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 #7804 from GSA/rs-hotfix/fix-corrupt-image-uploads
- Loading branch information
Showing
13 changed files
with
3,174 additions
and
2,602 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,11 +1,34 @@ | ||
env: | ||
browser: true | ||
es2021: true | ||
node: true | ||
extends: | ||
- airbnb-base | ||
- plugin:prettier/recommended | ||
overrides: [] | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
ecmaVersion: latest | ||
rules: { "prettier/prettier": "error" } | ||
plugins: ["prettier"] | ||
sourceType: module | ||
plugins: | ||
- '@typescript-eslint' | ||
- prettier | ||
rules: | ||
prettier/prettier: error | ||
settings: | ||
import/resolver: | ||
node: | ||
extensions: ['.js', '.jsx', '.ts', '.tsx'] | ||
overrides: | ||
- files: ['*.js', '*.jsx'] | ||
rules: | ||
prettier/prettier: error | ||
- files: ['*.ts', '*.tsx'] | ||
extends: | ||
- plugin:@typescript-eslint/recommended | ||
rules: | ||
prettier/prettier: error | ||
no-console: off # This disables the console statement warning for TypeScript files | ||
consistent-return: off # This disables the consistent return warning for TypeScript files | ||
'@typescript-eslint/no-explicit-any': off # This disables the explicit any warning for TypeScript files | ||
'no-await-in-loop': off # This disables the await in loop warning for TypeScript files | ||
'no-restricted-syntax': off # This disables the restricted syntax warning for TypeScript files |
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,11 @@ | ||
{ | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact" | ||
], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "always" | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.