eslint-config-p5js

1.1.0 • Public • Published

eslint-config-p5js

npm version

ESLint config for p5.js

Installation

npm install --save-dev eslint-config-p5js

Usage

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"
    ]
}

Generate the eslint environment

Install browserify Run installation instructions for node-canvas

npm run-script generate

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-p5js

Weekly Downloads

14

Version

1.1.0

License

MIT

Unpacked Size

12.9 kB

Total Files

8

Last publish

Collaborators

  • yang.su