Skip to content

booc0mtaco/eslint-plugin-cocoascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESLint plugin for validating CocoaScript, a JavaScript binding to Cocoa Libraries

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published