diff --git a/commitlint.config.js b/commitlint.config.js index 8d24ff1..be9bc49 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - module.exports = { extends: ['@tada5hi/commitlint-config'], }; diff --git a/rollup.config.mjs b/rollup.config.mjs index bc49265..ea1aaaa 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022-2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import resolve from '@rollup/plugin-node-resolve'; import { transform } from "@swc/core"; import pkg from './package.json' assert {type: 'json'}; diff --git a/src/constants.ts b/src/constants.ts index 3687709..f6d4b57 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - export enum PriorityName { LEFT = 'left', RIGHT = 'right', diff --git a/src/index.ts b/src/index.ts index ee8d3ef..10c98d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - export * from './constants'; export * from './module'; export * from './utils'; diff --git a/src/module.ts b/src/module.ts index c7c0d15..92a1210 100644 --- a/src/module.ts +++ b/src/module.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { PriorityName } from './constants'; import type { Merger, MergerContext, diff --git a/src/presets.ts b/src/presets.ts index 99fadc3..612c0c4 100644 --- a/src/presets.ts +++ b/src/presets.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { createMerger } from './module'; import type { MergerResult } from './type'; diff --git a/src/type.ts b/src/type.ts index cc045df..4d2bed8 100644 --- a/src/type.ts +++ b/src/type.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import type { PriorityName } from './constants'; type UnionToIntersection = diff --git a/src/utils/array.ts b/src/utils/array.ts index 661f69a..c18fd48 100644 --- a/src/utils/array.ts +++ b/src/utils/array.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { isEqual } from './check'; export function distinctArray(arr: T[]) : T[] { diff --git a/src/utils/check.ts b/src/utils/check.ts index a9f9d1e..d1cc35b 100644 --- a/src/utils/check.ts +++ b/src/utils/check.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - export function isObject(item: unknown) : item is Record { return ( !!item && diff --git a/src/utils/clone.ts b/src/utils/clone.ts index 2a44f7c..9d4c99f 100644 --- a/src/utils/clone.ts +++ b/src/utils/clone.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { isObject } from './check'; /* istanbul ignore next */ diff --git a/src/utils/index.ts b/src/utils/index.ts index b7a0106..26c169d 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - export * from './array'; export * from './check'; export * from './clone'; diff --git a/src/utils/object.ts b/src/utils/object.ts index ab6b0e0..00de74e 100644 --- a/src/utils/object.ts +++ b/src/utils/object.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2021. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - // eslint-disable-next-line @typescript-eslint/ban-types export function hasOwnProperty(obj: X, prop: Y): obj is X & Record { return Object.prototype.hasOwnProperty.call(obj, prop); diff --git a/src/utils/options.ts b/src/utils/options.ts index 4fe88fe..4ced836 100644 --- a/src/utils/options.ts +++ b/src/utils/options.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { PriorityName } from '../constants'; import type { Options, OptionsInput } from '../type'; diff --git a/test/unit/module.spec.ts b/test/unit/module.spec.ts index 658ddb1..52d26c4 100644 --- a/test/unit/module.spec.ts +++ b/test/unit/module.spec.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2022. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { createMerger, merge } from '../../src'; class MyCircularClass { diff --git a/test/unit/presets.spec.ts b/test/unit/presets.spec.ts index 401790b..617576b 100644 --- a/test/unit/presets.spec.ts +++ b/test/unit/presets.spec.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { assign } from '../../src'; describe('src/presets', () => { diff --git a/test/unit/utils/array.spec.ts b/test/unit/utils/array.spec.ts index 819d1a1..42ff447 100644 --- a/test/unit/utils/array.spec.ts +++ b/test/unit/utils/array.spec.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { distinctArray } from '../../../src'; describe('src/utils/array', () => { diff --git a/test/unit/utils/clone.spec.ts b/test/unit/utils/clone.spec.ts index d6086d4..8b1089b 100644 --- a/test/unit/utils/clone.spec.ts +++ b/test/unit/utils/clone.spec.ts @@ -1,10 +1,3 @@ -/* - * Copyright (c) 2023. - * Author Peter Placzek (tada5hi) - * For the full copyright and license information, - * view the LICENSE file that was distributed with this source code. - */ - import { polyfillClone } from '../../../src'; describe('src/utils/clone', () => {