-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathnr1-lib-deprecations.yml
123 lines (123 loc) · 4.44 KB
/
nr1-lib-deprecations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Schema: https://raw.githubusercontent.com/newrelic-forks/repolinter/master/rulesets/schema.json
version: 2
axioms: {}
rules:
nr1-lib-deprecation-dropdown-label:
level: error
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (import {).*(Dropdown).*(} from 'nr1').*(<(Dropdown)\s[^>]*(label)=*)
human-readable-content: The Dropdown label property is deprecated
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/dropdown
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-accountpicker-onchange:
level: warning
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(AccountPicker)\s[^>]*(onChange)=*)
human-readable-content: deprecated event handled for AccountPicker onChange
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/account-picker
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-icon-sizetype:
level: error
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(Icon)\s[^>]*(sizeType)=*)
human-readable-content: The Icon sizeType property is deprecated
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/icon
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-entity-title-table-row-cell-value-reporting:
level: warning
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(EntityTitleTableRowCell)\s[^>]*(value)=*)
human-readable-content: The reporting property of the value object should be present within this EntityTitleTableRowCell
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/entity-title-table-row-cell
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-tooltip-classname:
level: error
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(Tooltip)\s[^>]*(className)=*)
human-readable-content: deprecated Tooltip className property
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/tooltip
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-tooltip-style:
level: error
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(Tooltip)\s[^>]*(style)=*)
human-readable-content: The Tooltip style property is deprecated
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/tooltip
policyUrl: https://github.com/newrelic/developer-website/issues/1033
nr1-lib-deprecation-tablerow-actions-icontype:
level: warning
rule:
type: file-not-contents
nocase: true
options:
globsAll:
- "**/*.@(js|ts|jsx|tsx)"
- "!node_modules/**"
fail-on-non-existent: false
flags: gm
content: (<(TableRow)\s[^>]*(actions)=*)
human-readable-content: The iconType property of the actions object should not be present within a TableRow
policyInfo: >-
See the New Relic Developer docs for current API details
https://developer.newrelic.com/components/table-row
policyUrl: https://github.com/newrelic/developer-website/issues/1033