| 1 |
{ |
| 2 |
"globals": { |
| 3 |
"wcpn": "readonly", |
| 4 |
"PostNL": "readonly", |
| 5 |
"PostNLFrontend": "readonly", |
| 6 |
"PostNLDisplaySettings": "readonly", |
| 7 |
"MyParcelDeliveryOptions": "readonly" |
| 8 |
}, |
| 9 |
"extends": [ |
| 10 |
"@postnl/eslint-config/preset-default" |
| 11 |
], |
| 12 |
"rules": { |
| 13 |
"no-console": "error", |
| 14 |
"vars-on-top": "off", |
| 15 |
"multiline-comment-style": [ |
| 16 |
"error", |
| 17 |
"starred-block" |
| 18 |
], |
| 19 |
"newline-per-chained-call": [ |
| 20 |
"warn", |
| 21 |
{ |
| 22 |
"ignoreChainWithDepth": 2 |
| 23 |
} |
| 24 |
] |
| 25 |
}, |
| 26 |
"overrides": [ |
| 27 |
{ |
| 28 |
"files": [ |
| 29 |
"checkout.js", |
| 30 |
"wcpn-admin.js", |
| 31 |
"wcpn-frontend.js" |
| 32 |
], |
| 33 |
"env": { |
| 34 |
"jquery": true |
| 35 |
} |
| 36 |
} |
| 37 |
] |
| 38 |
} |
| 39 |
|