@labset/eslint-plugin-license-notice
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

eslint-plugin-license-notice

Quality Gate Status npm version

Ensure all your source files include the relevant license header notice

install it

  • with npm
npm install eslint-plugin-license-notice --save-dev
  • with yarn
yarn add eslint-plugin-license-notice -D -W

use it

  • add the eslint plugin to your .eslintrc.js
module.exports = {
    ...,
    plugins: [
        'license-notice',
    ],
    rules: {
        'license-notice/include': [
            'error', {
                license: 'Apache-2.0',
                copyRightYear: '<year>',
                copyRightName: '<name>'
            }
        ]
    }
}

/@labset/eslint-plugin-license-notice/

    Package Sidebar

    Install

    npm i @labset/eslint-plugin-license-notice

    Weekly Downloads

    0

    Version

    1.1.0

    License

    Apache-2.0

    Unpacked Size

    25.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • viqueen