-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Dependency updates - ESLint flat configuration format, replacing deprecated configuration - Minor fixes to compile and lint issues - Consistent TypeScript formatting with .editorconfig Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
- Loading branch information
1 parent
a4f0a2c
commit c077dae
Showing
87 changed files
with
6,281 additions
and
4,341 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,17 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
indent_size = 4 | ||
quote_type = single | ||
|
||
[*.json] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
max_line_length = off |
45 changes: 0 additions & 45 deletions
45
asset-transfer-basic/application-gateway-typescript/.eslintrc.json
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
asset-transfer-basic/application-gateway-typescript/eslint.config.mjs
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,13 @@ | ||
import js from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config(js.configs.recommended, ...tseslint.configs.strictTypeChecked, { | ||
languageOptions: { | ||
ecmaVersion: 2023, | ||
sourceType: 'module', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}); |
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
28 changes: 13 additions & 15 deletions
28
asset-transfer-basic/application-gateway-typescript/tsconfig.json
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,17 +1,15 @@ | ||
{ | ||
"extends":"@tsconfig/node18/tsconfig.json", | ||
"compilerOptions": { | ||
"experimentalDecorators": true, | ||
"emitDecoratorMetadata": true, | ||
"outDir": "dist", | ||
"declaration": true, | ||
"sourceMap": true, | ||
"noImplicitAny": true | ||
}, | ||
"include": [ | ||
"./src/**/*" | ||
], | ||
"exclude": [ | ||
"./src/**/*.spec.ts" | ||
] | ||
"extends": "@tsconfig/node18/tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"declaration": true, | ||
"declarationMap": true, | ||
"sourceMap": true, | ||
"noUnusedLocals": true, | ||
"noImplicitReturns": true, | ||
"noUncheckedIndexedAccess": true, | ||
"forceConsistentCasingInFileNames": true | ||
}, | ||
"include": ["./src/**/*"], | ||
"exclude": ["./src/**/*.spec.ts"] | ||
} |
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,3 @@ | ||
[*.ts] | ||
indent_size = 4 | ||
quote_type = single |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.