Skip to content

Commit

Permalink
linter_aligment_31_JAN_proposal_word_public_aññowed
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroDiez committed Feb 2, 2024
1 parent de968e2 commit 21f2d6d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lint_function/camara-language-avoid-telco.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// CAMARA Project - support function for Spectral linter
// 31.01.2024 - initial version

const replacements = [
{ original: 'UE', recommended: 'device' },
{ original: 'MSISDN', recommended: 'phone number' },
Expand Down
5 changes: 4 additions & 1 deletion lint_function/camara-reserved-words.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// CAMARA Project - support function for Spectral linter
// 31.01.2024 - initial version

const reservedWords = [
'abstract',
'apiclient',
Expand Down Expand Up @@ -55,7 +58,7 @@ const reservedWords = [
'package',
'private',
'protected',
'public',
// 'public', #Explicitly skipped in Blockchain as public word is part of API semantic
'return',
'short',
'static',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// CAMARA Project - support function for Spectral linter
// 31.01.2024 - initial version

const sensitiveData = ['MSISDN','IMSI','phoneNumber'];

export default async function (input) {
Expand Down

0 comments on commit 21f2d6d

Please sign in to comment.