Skip to content

Commit ec7e182

Browse files
0 parents  commit ec7e182

File tree

296 files changed

+143646
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+143646
-0
lines changed

.nojekyll

Whitespace-only changes.

7bit_ascii/index.html

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="keywords" content="ABAP,Open Source,abaplint,lint,linter,SAP,static analysis" />
6+
<title>rules.abaplint.org</title>
7+
<link rel="stylesheet" type="text/css" href="/style.css">
8+
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
9+
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
10+
</head>
11+
<body>
12+
<div class="content"><h1>Check for 7bit ascii</h1>
13+
&nbsp;<a href="/"><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" height="2ch"><title>home</title><path d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg></a>&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" height="2ch">
14+
<title>single file</title>
15+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z" /></svg>&nbsp;<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6" height="2ch">
16+
<title>example</title>
17+
<path stroke-linecap="round" stroke-linejoin="round" d="M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46" />
18+
</svg>&nbsp;<a href="https://github.com/abaplint/abaplint/blob/main/packages/core/src/rules/7bit_ascii.ts"><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" height="2ch"><title>edit</title><path d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"></path></svg></a>
19+
<p><tt>7bit_ascii</tt><br>
20+
</p>
21+
<h2>Description</h2>
22+
<p>Only allow characters from the 7bit ASCII set.</p><h2>Extended Information</h2>
23+
<p><a href='https://docs.abapopenchecks.org/checks/05/'>https://docs.abapopenchecks.org/checks/05/</a><br><br><a href='https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abencharacter_set_guidl.htm'>https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abencharacter_set_guidl.htm</a><br><br>Checkes files with extensions ".abap" and ".asddls"</p><h2>Default Configuration</h2>
24+
<div id="defaultConfigEditor" style="width:700px;height:114px;border:1px solid grey"></div>
25+
<script src="/_monaco/vs/loader.js"></script>
26+
<script src="/schema.js"></script>
27+
<script src="/pack.bundle.js"></script>
28+
<script>
29+
require.config({ paths: { 'vs': '/_monaco/vs' }});
30+
require(['vs/editor/editor.main'], function() {
31+
var modelUri = monaco.Uri.parse("a://b/foo.json");
32+
var model = monaco.editor.createModel(`{
33+
"exclude": [],
34+
"severity": "Error"
35+
}`, "json", modelUri);
36+
37+
const schema = abaplintSchema;
38+
schema["$ref"] = "#/definitions/SevenBitAsciiConf",
39+
40+
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
41+
validate: true,
42+
schemas: [{
43+
uri: "https://schema.abaplint.org/dummy.json",
44+
fileMatch: [modelUri.toString()],
45+
schema,
46+
}],
47+
});
48+
49+
var editor = monaco.editor.create(document.getElementById('defaultConfigEditor'), {
50+
model: model,
51+
autoClosingBrackets: false,
52+
minimap: {enabled: false},
53+
theme: "vs-dark"
54+
});
55+
56+
editor.onDidChangeModelContent(() => configChanged(editor, "7bit_ascii"));
57+
});
58+
</script><i>Hover to see descriptions, Ctrl+Space for suggestions</i><h2>Examples</h2>
59+
<div id="examplesEditor" style="width:700px;height:133px;border:1px solid grey"></div>
60+
<script>
61+
require.config({ paths: { 'vs': '/_monaco/vs' }});
62+
require(['vs/editor/editor.main'], function() {
63+
initABAP(`* Bad example
64+
WRITE '뽑'.
65+
66+
* Good example
67+
WRITE cl_abap_conv_in_ce=>uccp( 'BF51' ).`, "7bit_ascii");
68+
});
69+
</script><br><br></div>
70+
</body>
71+
</html>

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rules.abaplint.org
Binary file not shown.

_monaco/vs/base/common/worker/simpleWorker.nls.de.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.es.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.fr.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.it.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.ja.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.ko.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.ru.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.zh-cn.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_monaco/vs/base/common/worker/simpleWorker.nls.zh-tw.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)