eslint-config-max-msp
v0.1.1
Published
ESLint configuration for Cycling 74’s Max/MSP
Downloads
12
Maintainers
Readme
eslint-config-max-msp
🔎 ESLint configuration for Cycling 74’s Max/MSP
Installation
Add eslint
and this config to your package dependencies:
npm install -D eslint eslint-config-max-msp
What does this do?
This is a custom configuration for ESLint. It can help you write JavaScript for use with the js
and jsui
objects in Cycling 74’s Max software by helping you catch errors in your text editor or on the command line. So far it includes:
- definitions for the global variables available inside Max so that ESLint won’t complain about “undefined” variables
- some basic rules that match common JavaScript usage in Max/MSP
Usage
💡 If you haven’t used ESLint before, you might want to read “Getting Started with ESLint”
To use this configuration, you need to include an ESLint configuration file in your project. Below are example configuration files written in JSON and YAML. You can use whichever format you are more comfortable with and ESLint also supports JavaScript configuration files.
.eslintrc.json
{
"extends": [ "max-msp" ]
}
.eslintrc.yml
---
extends:
- max-msp
Contributing
If you’re interested in helping out, wonderful! There are some guidelines on how to contribute and a code of conduct outlining how to be supportive of one another.