You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Copyright (c) 2015, Yanis Wang <[email protected]> * MIT Licensed */
to something like this
/** * @license * MIT Licensed * * Copyright (c) 2014-2016 Yanis Wang <[email protected]> * Copyright (c) 2018 David Dias <[email protected]> * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thedaviddias/HTMLHint/blob/master/LICENSE.md */
or full version
/** * @license * Copyright (c) 2014-2016 Yanis Wang <[email protected]> * Copyright (c) 2018 David Dias <[email protected]> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */
I believe the recommended practice is to have a one-line comment with an SPDX license identifier in the source files, just to be 100% clear (that allows the inline licensing info to be both concise and unambiguous). But the LICENSE file at the project root should be sufficient for most cases, yeah.
Maybe we should change all headers from this
to something like this
or full version
http://usejsdoc.org/tags-license.html
I think I need to figure out what works best if you require a module and the JSDoc appears in something like VSCode
Another idea would be to remove all headers and trust the LICENSE.md file in the repository
The text was updated successfully, but these errors were encountered: