From 034b4336f4bfa0c5635003d067b73a3334d6c4b0 Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Thu, 13 Jun 2024 18:44:21 +0200 Subject: [PATCH] Add eslint config file --- .eslintrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .eslintrc diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 000000000..7a97d815d --- /dev/null +++ b/.eslintrc @@ -0,0 +1,9 @@ +{ + "extends": [ "plugin:@wordpress/eslint-plugin/recommended" ], + "globals": { + "wc": true + }, + "rules": { + "no-console": ["error", { "allow": ["warn", "error"] }] + } +}