repolinter
Version:
Lint open source repositories
12 lines (10 loc) • 431 B
JavaScript
// Copyright 2017 TODO Group. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
const fileExistence = require('./file-existence')
module.exports = function (fileSystem) {
return fileExistence(fileSystem, {
globsAny: ['NOTICE*'],
'fail-message':
'The NOTICE file is described in section 4.4 of the Apache License version 2.0. Its presence is not mandated by the license itself, but by ASF policy.'
})
}