summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/.eslintrc.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /remote/test/puppeteer/.eslintrc.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/test/puppeteer/.eslintrc.js')
-rw-r--r--remote/test/puppeteer/.eslintrc.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/remote/test/puppeteer/.eslintrc.js b/remote/test/puppeteer/.eslintrc.js
index 250aa0c169..6bd3e4538d 100644
--- a/remote/test/puppeteer/.eslintrc.js
+++ b/remote/test/puppeteer/.eslintrc.js
@@ -150,7 +150,7 @@ module.exports = {
// Enforces consistent file extension
'rulesdir/extensions': 'error',
// Enforces license headers on files
- 'rulesdir/check-license': 'warn',
+ 'rulesdir/check-license': 'error',
},
overrides: [
{
@@ -172,8 +172,6 @@ module.exports = {
curly: ['error', 'all'],
// Brackets keep code readable and `return` intentions clear.
'arrow-body-style': ['error', 'always'],
- // Error if comments do not adhere to `tsdoc`.
- 'tsdoc/syntax': 'error',
// Keeps array types simple only when they are simple for readability.
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
'no-unused-vars': 'off',
@@ -277,5 +275,14 @@ module.exports = {
},
],
},
+
+ {
+ // Applies to only published packages
+ files: ['packages/**/*.ts'],
+ rules: {
+ // Error if comments do not adhere to `tsdoc`.
+ 'tsdoc/syntax': 'error',
+ },
+ },
],
};