ESLint config for p5.js
npm install --save-dev eslint-config-p5js
Add the following to your .eslintrc
, which includes the configuration for p5.js
{
"extends": "p5js"
}
Configuration for p5.sound
{
"extends": "p5js/sound"
}
Configuration for p5.js
and all plugins
{
"extends": [
"p5js",
"p5js/sound"
]
}
Install browserify Run installation instructions for node-canvas
npm run-script generate