{{ message }}
Commit d6a5a40
authored
lint: move rule docs and samples closer together (capire#2112)
The current split into `rules/` and `examples/` folders is a bit hard to
grasp. Move the sample and docs for a rule in one folder, eliminating
the `examples` folder.
URLs change slightly:
- `cds-lint/rules/foobar` (before)
- `cds-lint/rules/foobar/` (now)1 parent bc1cb06 commit d6a5a40
104 files changed
Lines changed: 187 additions & 192 deletions
File tree
- .github/eslint-plugin
- tools/cds-lint
- components
- rules
- assoc2many-ambiguous-key
- correct/db
- incorrect/db
- auth-no-empty-restrictions
- correct
- db
- srv
- incorrect
- db
- srv
- auth-restrict-grant-service
- correct
- db
- srv
- incorrect
- db
- srv
- auth-use-requires
- correct
- db
- srv
- incorrect
- db
- srv
- auth-valid-restrict-grant
- correct
- db
- srv
- incorrect
- db
- srv
- auth-valid-restrict-keys
- correct
- db
- srv
- incorrect
- db
- srv
- auth-valid-restrict-to
- correct
- db
- srv
- incorrect
- db
- srv
- auth-valid-restrict-where
- correct
- db
- srv
- incorrect
- db
- srv
- case-sensitive-well-known-events
- correct/srv
- incorrect/srv
- extension-restrictions
- correct
- db
- node-modules/base-app
- incorrect
- db
- node-modules/base-app
- latest-cds-version
- no-cross-service-import
- correct/srv
- incorrect/srv
- no-db-keywords
- correct/db
- incorrect/db
- no-deep-sap-cds-import
- correct/srv
- incorrect/srv
- no-dollar-prefixed-names
- correct/db
- incorrect/db
- no-java-keywords
- correct/db
- incorrect/db
- no-join-on-draft
- correct
- db
- srv
- incorrect
- db
- srv
- sql-cast-suggestion
- correct/db
- incorrect/db
- sql-null-comparison
- correct
- db
- srv
- incorrect
- db
- srv
- start-elements-lowercase
- correct/db
- incorrect/db
- start-entities-uppercase
- correct/db
- incorrect/db
- use-cql-select-template-strings
- correct/srv
- incorrect/srv
- valid-csv-header
- correct/db
- data
- incorrect/db
- data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 0 additions & 24 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 4 additions & 4 deletions

0 commit comments