diff --git a/.eslintrc b/.eslintrc index 81147e9..769ce83 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,14 +6,14 @@ "env": { "node": true }, - "plugins": ["unicorn", "header"], + "plugins": ["unicorn", "@tony.ganchev/header"], "rules": { "unicorn/filename-case": "error", "curly": "error", "eqeqeq": "error", "no-return-await": "error", "require-await": "error", - "header/header": [ + "@tony.ganchev/header/header": [ "error", "line", [" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.", " SPDX-License-Identifier: Apache-2.0"] diff --git a/package-lock.json b/package-lock.json index db9d561..4faa827 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,9 +12,9 @@ "lodash": "^4.17.23" }, "devDependencies": { + "@tony.ganchev/eslint-plugin-header": "^3.3.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-header": "3.1.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^50.0.1", "husky": "^9.0.10", @@ -1462,6 +1462,16 @@ "@sinonjs/commons": "^3.0.0" } }, + "node_modules/@tony.ganchev/eslint-plugin-header": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@tony.ganchev/eslint-plugin-header/-/eslint-plugin-header-3.3.1.tgz", + "integrity": "sha512-/Fj0+DaXbBfrlXmd3wBZkB8TIwGT3N++y/oTYxRABK/gzNxjgcBjt63xBpuHCYIXmH1EwuALd6XS1fzNG4S0zg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=7.7.0" + } + }, "node_modules/@types/babel__core": { "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", @@ -2472,15 +2482,6 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-plugin-header": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz", - "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==", - "dev": true, - "peerDependencies": { - "eslint": ">=7.7.0" - } - }, "node_modules/eslint-plugin-prettier": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", diff --git a/package.json b/package.json index 11550a4..5d5ab40 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "lodash": "^4.17.23" }, "devDependencies": { + "@tony.ganchev/eslint-plugin-header": "^3.3.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-header": "3.1.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^50.0.1", "husky": "^9.0.10",