Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ESLint configuration.
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"plugins": [
"wordpress",
"async"
],
"extends": [
"eslint:recommended",
"plugin:wordpress/recommended"
],
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"rules": {
"async/missing-await-in-async-fn": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.