Last active
January 21, 2021 17:07
-
-
Save remy/9f87cf4a07f48cde16db4fe19827297d to your computer and use it in GitHub Desktop.
eslint config for browser and module support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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