* implement react-based JS block * refactor shortcode and widget to use the same syntax and classes
26 lines
403 B
JSON
26 lines
403 B
JSON
{
|
|
"env": {
|
|
"es6": false,
|
|
"browser": true
|
|
},
|
|
"globals": {
|
|
"sclivetickerAjax": "readonly",
|
|
"wp": "readonly"
|
|
},
|
|
"extends": [
|
|
"plugin:@wordpress/eslint-plugin/recommended",
|
|
"plugin:@wordpress/eslint-plugin/es5"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*"
|
|
],
|
|
"rules": {
|
|
"no-var": "off",
|
|
"object-shorthand": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|