0.0.2 • Published 9 years ago
eslint-plugin-cocoascript v0.0.2
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-devNext, install eslint-plugin-cocoascript:
$ npm install eslint-plugin-cocoascript --save-devNote: 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