-
Notifications
You must be signed in to change notification settings - Fork 3
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 #74 from adadouche/main
updated packages version & reverting versioned bucket and test cases
- Loading branch information
Showing
21 changed files
with
6,526 additions
and
6,225 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
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,79 @@ | ||
import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin"; | ||
import tsdoc from "eslint-plugin-tsdoc"; | ||
import globals from "globals"; | ||
import tsParser from "@typescript-eslint/parser"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import js from "@eslint/js"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
|
||
import { includeIgnoreFile } from "@eslint/compat"; | ||
const gitignorePath = path.resolve(__dirname, ".gitignore"); | ||
|
||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
|
||
export default [...compat.extends( | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
), { | ||
plugins: { | ||
"@typescript-eslint": typescriptEslintEslintPlugin, | ||
tsdoc, | ||
}, | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
...globals.jest, | ||
}, | ||
|
||
parser: tsParser, | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
|
||
parserOptions: { | ||
sourceType: 'module', | ||
project: './tsconfig.json', | ||
}, | ||
}, | ||
|
||
rules: { | ||
"tsdoc/syntax": "warn", | ||
|
||
"max-len": ["error", { | ||
code: 150, | ||
ignoreUrls: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreComments: true, | ||
ignoreRegExpLiterals: true, | ||
}], | ||
|
||
"prettier/prettier": ["error", { | ||
singleQuote: true, | ||
trailingComma: "es5", | ||
}], | ||
}, | ||
|
||
ignores: [ | ||
"jest.config.js", | ||
"package.json", | ||
"package-lock.json", | ||
"tsconfig.json", | ||
"typedoc.json", | ||
], | ||
}, | ||
includeIgnoreFile(gitignorePath), | ||
{ | ||
// your overrides | ||
}, | ||
]; |
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,8 +1,8 @@ | ||
module.exports = { | ||
testEnvironment: 'node', | ||
roots: ['<rootDir>/test'], | ||
testMatch: ['**/*.test.ts'], | ||
export default { | ||
testEnvironment: "node", | ||
roots: ["<rootDir>/test"], | ||
testMatch: ["**/*.test.ts"], | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest', | ||
"^.+\\.tsx?$": "ts-jest", | ||
}, | ||
}; |
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.