eslint-plugin-cocoascript
v0.0.2
Published
Syntax Highlighting for JS-flavored CocoaScript
Downloads
10
Maintainers
Readme
eslint-plugin-cocoascript
Syntax Highlighting for JS-flavored CocoaScript. CocoaScript is used for Sketch plugins, and provides access to JavaScript and Cocoa resources.
Works with any IDE that supports ESLint integration, like Atom and others.
More info at : https://www.npmjs.com/package/eslint-plugin-cocoascript
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-cocoascript
:
$ npm install eslint-plugin-cocoascript --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-cocoascript
globally.
Usage
Add cocoascript
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"cocoascript"
]
}
License
MIT © Andrew Holloway