Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- // Add p5 globals here that are not functions here
- "globals": {
- "p5": "off"
- },
- "rules": {
- "no-unused-vars": [
- "error", {
- "vars": "local",
- "args": "after-used",
- "ignoreRestSiblings": false,
- // Add p5 global functions to this regex with after an "|", which means: "or"
- "varsIgnorePattern": "setup|draw|mouseClicked"
- }
- ],
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement