mirror of
https://github.com/dkershner6/post-api-call-action.git
synced 2024-11-15 13:53:50 +08:00
4ea1c384b2
Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/dkershner6/post-api-call-action/actions/runs/7434770119 ------ *Automatically created by projen via the "upgrade-main" workflow* Signed-off-by: github-actions <github-actions@github.com>
206 lines
4.3 KiB
JSON
Generated
206 lines
4.3 KiB
JSON
Generated
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
|
{
|
|
"env": {
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"root": true,
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"import",
|
|
"jest",
|
|
"sonarjs"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"extends": [
|
|
"plugin:import/typescript",
|
|
"plugin:prettier/recommended",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:jest/recommended",
|
|
"plugin:sonarjs/recommended"
|
|
],
|
|
"settings": {
|
|
"import/parsers": {
|
|
"@typescript-eslint/parser": [
|
|
".ts",
|
|
".tsx"
|
|
]
|
|
},
|
|
"import/resolver": {
|
|
"node": {},
|
|
"typescript": {
|
|
"project": "./tsconfig.json",
|
|
"alwaysTryTypes": true
|
|
}
|
|
}
|
|
},
|
|
"ignorePatterns": [
|
|
"*.js",
|
|
"*.d.ts",
|
|
"node_modules/",
|
|
"*.generated.ts",
|
|
"coverage",
|
|
"!.projenrc.ts",
|
|
"!projenrc/**/*.ts"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-require-imports": [
|
|
"error"
|
|
],
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"devDependencies": [
|
|
"**/test/**",
|
|
"**/build-tools/**",
|
|
"src/**/__tests__/**/*",
|
|
"src/**/__mocks__/**/*",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.spec.ts",
|
|
".projenrc.ts",
|
|
"projenrc/**/*.ts"
|
|
],
|
|
"optionalDependencies": false,
|
|
"peerDependencies": true
|
|
}
|
|
],
|
|
"import/no-unresolved": "off",
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"groups": [
|
|
"builtin",
|
|
"external",
|
|
"parent",
|
|
"sibling",
|
|
"index"
|
|
],
|
|
"newlines-between": "always",
|
|
"pathGroups": [
|
|
{
|
|
"pattern": "react",
|
|
"group": "external",
|
|
"position": "before"
|
|
}
|
|
],
|
|
"pathGroupsExcludedImportTypes": [
|
|
"react"
|
|
],
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"caseInsensitive": true
|
|
}
|
|
}
|
|
],
|
|
"no-duplicate-imports": [
|
|
"error"
|
|
],
|
|
"no-shadow": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/no-shadow": [
|
|
"error"
|
|
],
|
|
"key-spacing": [
|
|
"error"
|
|
],
|
|
"no-multiple-empty-lines": [
|
|
"error"
|
|
],
|
|
"@typescript-eslint/no-floating-promises": [
|
|
"error"
|
|
],
|
|
"no-return-await": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/return-await": [
|
|
"error"
|
|
],
|
|
"no-trailing-spaces": [
|
|
"error"
|
|
],
|
|
"dot-notation": [
|
|
"error"
|
|
],
|
|
"no-bitwise": [
|
|
"error"
|
|
],
|
|
"@typescript-eslint/member-ordering": [
|
|
"error",
|
|
{
|
|
"default": [
|
|
"public-static-field",
|
|
"public-static-method",
|
|
"protected-static-field",
|
|
"protected-static-method",
|
|
"private-static-field",
|
|
"private-static-method",
|
|
"field",
|
|
"constructor",
|
|
"method"
|
|
]
|
|
}
|
|
],
|
|
"no-console": [
|
|
"warn",
|
|
{
|
|
"allow": [
|
|
"debug",
|
|
"info",
|
|
"warn",
|
|
"error"
|
|
]
|
|
}
|
|
],
|
|
"import/namespace": "off",
|
|
"sonarjs/no-redundant-jump": "off",
|
|
"sonarjs/no-small-switch": "warn",
|
|
"@typescript-eslint/explicit-function-return-type": [
|
|
"warn",
|
|
{
|
|
"allowExpressions": true,
|
|
"allowTypedFunctionExpressions": true,
|
|
"allowHigherOrderFunctions": true,
|
|
"allowDirectConstAssertionInArrowFunctions": true,
|
|
"allowConciseArrowFunctionExpressionsStartingWithVoid": true
|
|
}
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"ignoreRestSiblings": true
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.js",
|
|
"*.jsx"
|
|
],
|
|
"rules": {
|
|
"import/no-unresolved": "error",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
".projenrc.ts"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-require-imports": "off",
|
|
"import/no-extraneous-dependencies": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|