Skip to content

Commit 08399d5

Browse files
committed
update to error level
1 parent da2fc29 commit 08399d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eslint.config.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import noOnlyTests from 'eslint-plugin-no-only-tests';
1111
import prettier from 'eslint-config-prettier';
1212
import importPlugin from 'eslint-plugin-import';
1313
import js from '@eslint/js';
14-
import noBadGdprCommentPlugin from './.eslintplugin/no-bad-gdpr-comment.js'; // Ensure the path is correct
14+
import noBadGdprCommentPlugin from './.eslintplugin/no-bad-gdpr-comment.js';
1515

1616
export default [
1717
{
@@ -274,7 +274,7 @@ export default [
274274
'no-only-tests': noOnlyTests,
275275
import: importPlugin,
276276
prettier: prettier,
277-
'no-bad-gdpr-comment': noBadGdprCommentPlugin, // Register your plugin
277+
'no-bad-gdpr-comment': noBadGdprCommentPlugin,
278278
},
279279
settings: {
280280
'import/resolver': {
@@ -284,7 +284,7 @@ export default [
284284
},
285285
},
286286
rules: {
287-
'no-bad-gdpr-comment/no-bad-gdpr-comment': 'warn', // Enable your rule
287+
'no-bad-gdpr-comment/no-bad-gdpr-comment': 'error',
288288
// Base configurations
289289
...tseslint.configs.recommended.rules,
290290
...prettier.rules,

0 commit comments

Comments
 (0)