eslint-config-max-msp

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i eslint-config-max-msp

Weekly Downloads

1

Version

0.1.1

License

GPL-3.0

Unpacked Size

41.2 kB

Total Files

7

Last publish

Collaborators

  • delucis