explicit licence in eslint files

This commit is contained in:
dakkar 2024-10-22 19:24:19 +01:00
parent b26b7a9570
commit f781c19df1
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: dakkar and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
/* This is a ESLint rule to report use of the `i18n.ts` and `i18n.tsx` /* This is a ESLint rule to report use of the `i18n.ts` and `i18n.tsx`
* objects that reference translation items that don't actually exist * objects that reference translation items that don't actually exist
* in the lexicon (the `locale/` files) * in the lexicon (the `locale/` files)

View file

@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: dakkar and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
const {RuleTester} = require("eslint"); const {RuleTester} = require("eslint");
const localeRule = require("./locale"); const localeRule = require("./locale");