summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-10-22 19:24:19 +0100
committerdakkar <dakkar@thenautilus.net>2024-10-22 19:24:19 +0100
commitf781c19df12bc4cdd40c0b1eb11aa9e8dbc8db90 (patch)
treeb3e949d3c370fa6c3cce1692544255155f6efc48
parentre-add `warnExternalUrl` (diff)
downloadsharkey-f781c19df12bc4cdd40c0b1eb11aa9e8dbc8db90.tar.gz
sharkey-f781c19df12bc4cdd40c0b1eb11aa9e8dbc8db90.tar.bz2
sharkey-f781c19df12bc4cdd40c0b1eb11aa9e8dbc8db90.zip
explicit licence in eslint files
-rw-r--r--eslint/locale.js5
-rw-r--r--eslint/locale.test.js5
2 files changed, 10 insertions, 0 deletions
diff --git a/eslint/locale.js b/eslint/locale.js
index 1b19066ec7..dbb807b714 100644
--- a/eslint/locale.js
+++ b/eslint/locale.js
@@ -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`
* objects that reference translation items that don't actually exist
* in the lexicon (the `locale/` files)
diff --git a/eslint/locale.test.js b/eslint/locale.test.js
index 1c0727b400..2b69672d27 100644
--- a/eslint/locale.test.js
+++ b/eslint/locale.test.js
@@ -1,3 +1,8 @@
+/*
+ * SPDX-FileCopyrightText: dakkar and other Sharkey contributors
+ * SPDX-License-Identifier: AGPL-3.0-only
+*/
+
const {RuleTester} = require("eslint");
const localeRule = require("./locale");