Skip to content

Instantly share code, notes, and snippets.

@remy
Last active January 21, 2021 17:07
Embed
What would you like to do?
eslint config for browser and module support
{
"env": {
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["jsdoc"],
"rules": {
"no-console": 0,
"jsdoc/require-param-description": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/require-property-description": 0,
"jsdoc/valid-types": 0,
"no-restricted-globals": [
"error", {
"name": "name",
"message": "Use local parameter instead."
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment