5327 Commits

Author SHA1 Message Date
Tom
27c051acbd Full covered_rules.json file 2020-07-07 14:34:48 +02:00
Tom
7194aec2f8 Handle multiple sonarpedia.json file in a repo 2020-07-07 14:34:19 +02:00
Tom
b6866b5672 Add more covered rules 2020-07-07 11:00:51 +02:00
Tom
45e279fb2f Add batchall to read all repos 2020-07-07 11:00:33 +02:00
Tom
03ff282223 Move rule_cov to its own directory 2020-07-07 10:17:00 +02:00
Tom
b1bb3c5ec6 Add rules covered for sonar-java SonarJS and sonar-cobol 2020-07-07 10:14:23 +02:00
Tom
062816a7b5 Add batch mode 2020-07-07 10:14:23 +02:00
Tom
db2ebd9d9d Add repo clone and checkout 2020-07-07 10:14:23 +02:00
Tom
28ea07902c Get rules covered for a language from a cloned repository 2020-07-07 10:14:23 +02:00
nicolas-harraudeau-sonarsource
ac5f91e22d
Merge pull request #17 from SonarSource/display-json
Display json and edit link
2020-07-07 09:23:22 +02:00
Nicolas Harraudeau
9752cb3383 [Frontend] Fix search hook dependencies 2020-07-06 20:38:08 +02:00
Nicolas Harraudeau
2731c867dc [Frontend] Load search index only once 2020-07-06 20:32:25 +02:00
Alban Auzeill
24f8d817be Display json and edit link 2020-07-06 18:02:11 +02:00
Nicolas Harraudeau
a0df838b68 Enable search in rule descriptions
The index is quite big (5.8 Mb). Let's see the performances
on github pages.

Contributes to #18
2020-07-06 17:41:13 +02:00
Nicolas Harraudeau
004c8cebaa Fix eslint warnings 2020-07-03 00:02:49 +02:00
Nicolas Harraudeau
dcd0974ad2 Paginate search results.
closes #16
2020-07-02 23:55:56 +02:00
Nicolas Harraudeau
f89495c206 Add a basic search search page.
Contributes to #15
2020-07-02 12:13:51 +02:00
Alban Auzeill
07124b654f Add rules based on targeted languages and remove the empty one 2020-06-30 17:16:12 +02:00
Alban Auzeill
2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00
Alban Auzeill
3be6717469 Add missing rules because of approximative section names 2020-06-30 17:16:12 +02:00
Alban Auzeill
0329b1564c Add rules 5000-5999 2020-06-30 17:16:12 +02:00
Alban Auzeill
76b1b940f8 Add rules 4000-4999 2020-06-30 17:16:12 +02:00
Alban Auzeill
7db4f31c38 Add rules 3000-3999 2020-06-30 17:16:12 +02:00
Alban Auzeill
9ebd45f206 Add rules 2000-2999 2020-06-30 17:16:12 +02:00
Alban Auzeill
b838878fe1 Add rules 1000-1999 2020-06-30 17:16:12 +02:00
Alban Auzeill
19f17a3cc0 Add rules 784-999 2020-06-30 17:16:12 +02:00
Nicolas Harraudeau
85c9a88d5e Fix routing by using HashRouter 2020-06-30 14:29:00 +02:00
Nicolas Harraudeau
2658d35dfc Add Tabs to switch between languages
References #8
2020-06-30 14:19:29 +02:00
Nicolas Harraudeau
02be0a37bf Fix metadata merge order 2020-06-30 14:17:36 +02:00
Nicolas Harraudeau
170c55b690 Enable CLEAN during frontend deployment 2020-06-30 10:49:29 +02:00
Nicolas Harraudeau
05f3a9c632 Don't keep history of gh-pages branch 2020-06-30 10:34:33 +02:00
Alban Auzeill
5d344116ef
Add rules 100-128 (#10) 2020-06-30 10:16:44 +02:00
Nicolas Harraudeau
03f8ffbe09 Fix useFetch dependencies and unused variables 2020-06-30 09:22:25 +02:00
Nicolas Harraudeau
abc548569d Fix 'npm run predeploy' 2020-06-30 09:03:29 +02:00
Nicolas Harraudeau
e2f9260f5b Add a basic page showing one rule.
Relates to #8
2020-06-29 23:43:49 +02:00
tomverin
65044d5c1c
Merge pull request #9 from SonarSource/asciidoctor
Asciidoctor validation, fail on warning
2020-06-29 19:43:53 +02:00
Alban Auzeill
63f8fedccd Add rule description S3864 2020-06-29 12:04:57 +02:00
Alban Auzeill
fbed65daaa Revert "Move generated json and html outside "static" folder"
This reverts commit a5a6adc4e75d873c92c47772be61a256b19ee3a2.
2020-06-29 11:14:11 +02:00
Tom
73c8002135 run asciidoctor against all rules 2020-06-29 10:58:30 +02:00
Tom
f8da8477be install asciidoctor 2020-06-29 10:58:30 +02:00
Alban Auzeill
fe8176f7f4 Generate in public folder 2020-06-29 10:48:41 +02:00
Alban Auzeill
a5a6adc4e7 Move generated json and html outside "static" folder 2020-06-29 10:32:40 +02:00
Alban Auzeill
d2f3b23b8f When push on master, execute predeploy in addition to build 2020-06-29 10:19:24 +02:00
Alban Auzeill
cc3ec04a2b Merge json and generate html using asciidoctor during predeploy 2020-06-26 17:07:11 +02:00
Tom
9d2dac54ca Only bottom up asciidoc
topdown moved to its own branch
2020-06-26 15:09:53 +02:00
Nicolas Harraudeau
b8e0c493dd bootstrap rules build scripts 2020-06-26 14:26:13 +02:00
nicolas-harraudeau-sonarsource
79cfd7cfd4
Merge pull request #3 from SonarSource/jsonschema
Jsonschema
2020-06-26 13:26:03 +02:00
Tom
188172de85 Enable fail on error 2020-06-26 11:50:00 +02:00
Tom
7c1e44e2fe use json schema validation 2020-06-26 11:49:25 +02:00
Tom
abf85e956d Fix container 2020-06-26 11:16:58 +02:00