Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tables containing code analysis rules #49

Closed
wants to merge 25 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
73fba86
initial custom commit
cegekaJG Mar 29, 2023
a650be3
remove OnSave actions
cegekaJG Apr 27, 2023
2c77c90
Merge branch 'microsoft:main' into main
cegekaJG Apr 27, 2023
522ba7f
add pre-commit config
cegekaJG May 15, 2023
8d69b23
Merge pull request #1 from CBS-BC-AT/add-pre-commit-config
cegekaJG May 15, 2023
1fc03c2
Merge branch 'microsoft:main' into main
cegekaJG May 31, 2023
db64544
add suffix to filenames
cegekaJG Jun 15, 2023
664ef88
Merge branch 'main' of https://github.com/CBS-BC-AT/AL-Go
cegekaJG Jun 15, 2023
ed02aa8
Merge branch 'main' of https://github.com/microsoft/AL-Go-PTE
cegekaJG Jun 15, 2023
b858ecc
Update AL-Go-Settings.json
cegekaJG Jul 10, 2023
5dc30d4
Update AL-Go-Settings.json
cegekaJG Jul 10, 2023
73937dc
Create CegekaAT.ruleset.json
cegekaJG Jul 10, 2023
5a1452e
Update al.code-workspace
cegekaJG Jul 10, 2023
d1abdca
Add folders (#2)
cegekaJG Jul 10, 2023
e8bb3b6
Update CRS name pattern (#3)
cegekaJG Jul 14, 2023
d130221
Update default settings (#4)
cegekaJG Sep 20, 2023
a764457
Add dependencies folder (#5)
cegekaJG Sep 20, 2023
c3ce253
Merge branch 'microsoft:main' into main
cegekaJG Sep 20, 2023
13b88c2
Update template URL (#6)
cegekaJG Sep 21, 2023
ac6847d
Merge branch 'microsoft:main' into main
cegekaJG Nov 6, 2023
2d31c41
Update-default-settings (#7)
cegekaJG Nov 9, 2023
24f3942
Specify GitHub Runner (#8)
cegekaJG Nov 9, 2023
7e383e2
Add doNotPublishApps flag to AL-Go settings
cegekaJG Dec 22, 2023
8e79a35
Update files with new line at end of file
cegekaJG Jan 12, 2024
0ade6b4
Add tables containing code analysis rules
cegekaJG Jan 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
initial custom commit
cegekaJG committed Mar 29, 2023

Verified

This commit was signed with the committer’s verified signature.
DrVilepis Ville Järvinen
commit 73fba86f6109deabd1546f50457231eaa832b106
2 changes: 1 addition & 1 deletion .AL-Go/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"country": "us",
"country": "at",
"appFolders": [],
"testFolders": [],
"bcptTestFolders": []
6 changes: 5 additions & 1 deletion .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@main"
"templateUrl": "https://github.com/CBS-BC-AT/AL-Go@main",
"enableCodeCop": true,
"enableUICop": true,
"enablePerTenantExtensionCop": false,
"doNotRunBcptTests": true
}
3 changes: 2 additions & 1 deletion .github/Test Current.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"artifact": "////latest",
"cacheImageName": "",
"versioningStrategy": 15
"versioningStrategy": 15,
"doNotRunBcptTests": false
}
3 changes: 2 additions & 1 deletion .github/Test Next Major.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"artifact": "////nextmajor/{INSIDERSASTOKEN}",
"cacheImageName": "",
"versioningStrategy": 15
"versioningStrategy": 15,
"doNotRunBcptTests": false
}
3 changes: 2 additions & 1 deletion .github/Test Next Minor.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"artifact": "////nextminor/{INSIDERSASTOKEN}",
"cacheImageName": "",
"versioningStrategy": 15
"versioningStrategy": 15,
"doNotRunBcptTests": false
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ Thumbs.db
TestResults*.xml
bcptTestResults*.json
BuildOutput.txt
launch.json
rad.json
.output/
.dependencies/
@@ -15,6 +16,7 @@ rad.json
.packages/
.alcache/
.altemplates/
.altestrunner
.snapshots/
cache_*
~$*
77 changes: 72 additions & 5 deletions al.code-workspace
Original file line number Diff line number Diff line change
@@ -1,8 +1,75 @@
{
"folders": [
{
"path": ".AL-Go"
}
"folders": [
{
"path": ".AL-Go"
},
{
"path": ".github"
}
],
"settings": {
"al.assemblyProbingPaths": [
"./.netpackages",
"C:/Windows/assembly/"
],
"settings": {}
"al.backgroundCodeAnalysis": false,
"al.codeAnalyzers": [
"${CodeCop}",
"${UICop}",
"${analyzerFolder}BusinessCentral.LinterCop.dll"
],
"al.enableCodeActions": true,
"al.enableCodeAnalysis": true,
"alOutline.addDataItemToReportColumnName": true,
"alOutline.addToolTipsToPageFields": true,
"alOutline.codeActionsOnSave": [
"SortVariables",
"SortProperties",
"FormatDocument",
"SortPermissions"
],
"alOutline.codeCleanupActions": [
"AddApplicationAreas",
"AddMissingParentheses",
"ConvertObjectIdsToNames",
"FixIdentifiersCase",
"FixKeywordsCase",
"MakeFlowFieldsReadOnly",
"RemoveEmptyTriggers",
"RemoveEmptySections",
"RemoveStrSubstNoFromError",
"RemoveWithStatements",
"RemoveUnusedVariables",
"RemoveEmptyLines",
"SortVariables",
"TrimTrailingWhitespace",
"FormatDocument"
],
"alOutline.fixCaseRemovesQuotesFromDataTypeIdentifiers": true,
"alOutline.fixCodeCopMissingParenthesesOnSave": true,
"alOutline.openDefinitionInNewTab": true,
"CRS.ExtensionObjectNamePattern": "<BaseName><Suffix>",
"CRS.FileNamePattern": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"CRS.FileNamePatternExtensions": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"CRS.FileNamePatternPageCustomizations": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"CRS.ObjectNameSuffix": " CCL",
"CRS.OnSaveAlFileAction": "Reorganize",
"CRS.RemovePrefixFromFilename": true,
"CRS.RemoveSuffixFromFilename": true,
"CRS.RenameWithGit": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"files.autoSave": "afterDelay",
"files.trimTrailingWhitespace": true,
"githubPullRequests.assignCreated": "${user}",
"githubPullRequests.defaultMergeMethod": "squash",
"githubPullRequests.pullBranch": "always",
"githubPullRequests.pushBranch": "always",
"gitlens.advanced.blame.customArguments": [
"-CCC"
],
"gitlens.advanced.fileHistoryFollowsRenames": true,
"gitlens.blame.ignoreWhitespace": true,
"workbench.iconTheme": "vscode-icons"
}
}