Skip to content

Commit b50831b

Browse files
committed
Add new and improved license detection rules
Reference: #2819 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent c7a7bc8 commit b50831b

46 files changed

Lines changed: 330 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
License
2+
This project is under BSD license.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: bsd-new
2+
is_license_notice: yes
3+
relevance: 99
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
License
2+
This project is under BSD license.
3+
{{BSD 2-Clause}} License
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: bsd-simplified
2+
is_license_notice: yes
3+
relevance: 100
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
close to singular, use at your own risk
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
is_false_positive: yes
2+
notes: not a license warranty disclaimer
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
skip this error (Use at your own risk!)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
is_false_positive: yes
2+
notes: not a license warranty disclaimer
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
array may not be modified
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
is_false_positive: yes
2+
notes: not a license

0 commit comments

Comments
 (0)