/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
.github/workflow-scripts/lint_files.sh
12 строк
351 B
Alex Hunt
Remove .npmignore files from other packages, add lint check (#50786)
17 апр 2025, 22:48
17 апр 2025, 22:48
16a61bf
Код
Авторство
О чём код?
#!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e if git ls-files | grep -E '\.npmignore$'; then echo "Error: Found unexpected .npmignore file(s). Please use package.json#files instead." exit 1 fi