Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
fix: lint (ADDON-39580)
Browse files Browse the repository at this point in the history
- sanitizers: json files cannot have comments, however our sanitizer wants our json
  files to have comments. We changed json to jsoncomment in order to add those required
  comments (part #3)
  • Loading branch information
lstoppa committed Jul 29, 2021
1 parent 41a4c39 commit 220f7e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
16 changes: 0 additions & 16 deletions tests/mib_walk_data/if_mib_walk.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
#
# Copyright 2021 Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[
{"metric_name": "sc4snmp.IF-MIB.ifNumber_0", "_value": "2", "metric_type": "Integer"},
{"metric_name": "sc4snmp.IF-MIB.ifIndex_1", "_value": "1", "metric_type": "Integer"},
Expand Down
16 changes: 0 additions & 16 deletions tests/mib_walk_data/if_mib_walk_invalid_indexes.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
#
# Copyright 2021 Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[
{"metric_name": "sc4snmp.IF-MIB.ifNumber_0", "_value": "2", "metric_type": "Integer"},
{"metric_name": "sc4snmp.IF-MIB.ifIndex_1", "_value": "1", "metric_type": "Integer"},
Expand Down
16 changes: 0 additions & 16 deletions tests/mib_walk_data/if_mib_walk_invalid_networks.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
#
# Copyright 2021 Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[
{"metric_name": "sc4snmp.IF-MIB.ifNumber_0", "_value": "2", "metric_type": "Integer"},
{"metric_name": "sc4snmp.IF-MIB.ifIndex_1", "_value": "1", "metric_type": "Integer"},
Expand Down

0 comments on commit 220f7e8

Please sign in to comment.