forked from amplication/amplication
-
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.
Fix formatting with Nx formatter (amplication#4357)
* Reintroduce formatting and format all * Update snapshots
- Loading branch information
1 parent
27dbd79
commit 8f30925
Showing
577 changed files
with
55,036 additions
and
5,326 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 |
---|---|---|
|
@@ -7,6 +7,8 @@ package-lock.json | |
/coverage | ||
/**/models.ts | ||
helm | ||
.github | ||
.amplication | ||
/generated | ||
/build | ||
/build | ||
__snapshots__ |
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,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/prettierrc", | ||
"singleQuote": false | ||
} | ||
} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"$schema": "http://json.schemastore.org/prettierrc", | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,61 +1,61 @@ | ||
const path = require('path'); | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
sourceType: 'module' | ||
project: "tsconfig.json", | ||
sourceType: "module", | ||
}, | ||
plugins: ['@typescript-eslint/eslint-plugin', 'import'], | ||
plugins: ["@typescript-eslint/eslint-plugin", "import"], | ||
extends: [ | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/errors', | ||
'plugin:import/warnings', | ||
'plugin:import/typescript' | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings", | ||
"plugin:import/typescript", | ||
], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true | ||
jest: true, | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
"import/resolver": { | ||
node: { | ||
paths: ['.'] | ||
paths: ["."], | ||
}, | ||
'eslint-import-resolver-lerna': { | ||
packages: path.resolve(__dirname, '..') | ||
} | ||
} | ||
"eslint-import-resolver-lerna": { | ||
packages: path.resolve(__dirname, ".."), | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'import/no-cycle': 'error', | ||
'@typescript-eslint/camelcase': 'off', | ||
'@typescript-eslint/naming-convention': [ | ||
'error', | ||
"@typescript-eslint/interface-name-prefix": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"import/no-cycle": "error", | ||
"@typescript-eslint/camelcase": "off", | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
selector: 'default', | ||
format: ['camelCase'], | ||
leadingUnderscore: 'allow', | ||
trailingUnderscore: 'allow' | ||
selector: "default", | ||
format: ["camelCase"], | ||
leadingUnderscore: "allow", | ||
trailingUnderscore: "allow", | ||
}, | ||
{ | ||
selector: 'variable', | ||
format: ['camelCase', 'UPPER_CASE'], | ||
leadingUnderscore: 'allow', | ||
trailingUnderscore: 'allow' | ||
selector: "variable", | ||
format: ["camelCase", "UPPER_CASE"], | ||
leadingUnderscore: "allow", | ||
trailingUnderscore: "allow", | ||
}, | ||
{ | ||
selector: 'typeLike', | ||
format: ['PascalCase'] | ||
selector: "typeLike", | ||
format: ["PascalCase"], | ||
}, | ||
{ selector: 'enumMember', format: ['PascalCase'] } | ||
{ selector: "enumMember", format: ["PascalCase"] }, | ||
], | ||
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }], | ||
'@typescript-eslint/no-floating-promises': 'error' | ||
} | ||
"@typescript-eslint/no-unused-vars": ["error", { args: "none" }], | ||
"@typescript-eslint/no-floating-promises": "error", | ||
}, | ||
}; |
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
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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
export { getResource } from './resources-get'; | ||
export { getResources } from './resources-list'; | ||
export { createService } from './resources-create'; | ||
export { updateResource } from './resources-update'; | ||
export { commitChanges } from './resources-commit'; | ||
export { getResource } from "./resources-get"; | ||
export { getResources } from "./resources-list"; | ||
export { createService } from "./resources-create"; | ||
export { updateResource } from "./resources-update"; | ||
export { commitChanges } from "./resources-commit"; | ||
|
||
export { getEntities } from './entities-list'; | ||
export { getEntity } from './entities-get'; | ||
export { createEntity } from './entities-create'; | ||
export { updateEntity } from './entities-update'; | ||
export { getEntities } from "./entities-list"; | ||
export { getEntity } from "./entities-get"; | ||
export { createEntity } from "./entities-create"; | ||
export { updateEntity } from "./entities-update"; | ||
|
||
export { getFields } from './fields-list'; | ||
export { createFieldByDisplayName } from './fields-create-by-display-name'; | ||
export { updateField } from './fields-update'; | ||
export { getFields } from "./fields-list"; | ||
export { createFieldByDisplayName } from "./fields-create-by-display-name"; | ||
export { updateField } from "./fields-update"; |
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
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
Oops, something went wrong.