Add eslint config file

This commit is contained in:
Emili Castells Guasch 2024-06-13 18:44:21 +02:00
parent dcfa88f39c
commit 034b4336f4

9
.eslintrc Normal file
View file

@ -0,0 +1,9 @@
{
"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ],
"globals": {
"wc": true
},
"rules": {
"no-console": ["error", { "allow": ["warn", "error"] }]
}
}