File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : [" plugin:json/recommended-with-comments" ]
3
+ }
Original file line number Diff line number Diff line change @@ -188,7 +188,9 @@ meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh
188
188
meta-yadro/meta-nicole/recipes-phosphor/chassis/avsbus-control/avsbus-control.sh
189
189
"
190
190
191
- types=(shell)
191
+ types=(json shell)
192
+ # shellcheck disable=SC2034
193
+ check_json=" eslint --resolve-plugins-relative-to /usr/local/lib/node_modules"
192
194
# shellcheck disable=SC2034
193
195
check_shell=" shellcheck -x"
194
196
@@ -215,12 +217,19 @@ for f in $non_bbfiles; do
215
217
file_type=" shell"
216
218
;;
217
219
220
+ * JSON\ data* )
221
+ file_type=" json"
222
+ ;;
223
+
218
224
* )
219
225
case $f in
220
226
* .sh)
221
227
file_type=" shell"
222
228
;;
223
229
230
+ * .json)
231
+ file_type=" json"
232
+ ;;
224
233
esac
225
234
esac
226
235
You can’t perform that action at this time.
0 commit comments