mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
- env.browser: Linter recognizes browser elements, like `HTMLElement` - globals.jQuery: Library is present on all pages
13 lines
227 B
Text
13 lines
227 B
Text
{
|
|
"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"wc": true,
|
|
"jQuery": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-console": ["error", { "allow": ["warn", "error"] }]
|
|
}
|
|
}
|