Skip to content

Commit

Permalink
Merge pull request #29 from simatic-ax/chore/update_to_sdk_2405
Browse files Browse the repository at this point in the history
chore: fix naming and add repolinter rules
  • Loading branch information
ReinerSchinkoethe authored Jun 21, 2024
2 parents 46e93ad + f6dc05f commit 128bf11
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 22 deletions.
2 changes: 1 addition & 1 deletion apax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# General information
name: ae-trafficlight
name: '@simatic-ax/ae-trafficlight'
version: 0.0.0-placeholder
type: app
# Description will be displayed in the apax extension
Expand Down
158 changes: 158 additions & 0 deletions repolint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"$schema": "./schema.json",
"version": 2,
"axioms": {
"linguist": "language",
"licensee": "license",
"packagers": "packager"
},
"rules": {
"license-file-exists": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [ "LICENSE.md" ],
"nocase": true
}
}
},
"readme-file-exists": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [ "README*.md" ],
"nocase": true
}
}
},
"readme-references-license": {
"level": "error",
"rule": {
"type": "file-contents",
"options": {
"globsAll": [ "README*" ],
"content": "license",
"flags": "i"
}
}
},
"binaries-not-present": {
"level": "warning",
"rule": {
"type": "file-type-exclusion",
"options": {
"type": [ "**/*.exe", "**/*.dll", "!node_modules/**" ]
}
}
},
"test-directory-exists": {
"level": "warning",
"rule": {
"type": "directory-existence",
"options": {
"globsAny": [ "**/test*" ],
"nocase": true
}
}
},
"source-directory-exists": {
"level": "warning",
"rule": {
"type": "directory-existence",
"options": {
"globsAny": [ "**/src*" ],
"nocase": true
}
}
},
"additional-docs-directory-exists": {
"level": "warning",
"rule": {
"type": "directory-existence",
"options": {
"globsAny": [ "**/docs*" ],
"nocase": true
}
}
},
"integrates-with-ci": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
".github/workflows/*"
]
}
}
},
"markdownlint-config-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
".markdownlint.yml"
]
}
}
},
"apax-yml-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
"apax.yml"
]
}
}
},
"gitignore-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
".gitignore"
]
}
}
},
"gitattributes-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
".gitattributes"
]
}
}
},
"apax-files-section-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
"apax-files-section.yml"
]
}
}
},
"CODEOWNERS-exit": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": [
"CODEOWNERS"
]
}
}
}
}
}
21 changes: 0 additions & 21 deletions repolinter.json

This file was deleted.

0 comments on commit 128bf11

Please sign in to comment.