Skip to content

🔎 ESLint configuration for [js] and [jsui] objects in Cycling 74’s Max/MSP

License

Notifications You must be signed in to change notification settings

delucis/eslint-config-max-msp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-max-msp

npm version Build Status Coverage Status Known Vulnerabilities

🔎 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.

About

🔎 ESLint configuration for [js] and [jsui] objects in Cycling 74’s Max/MSP

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •