0.1.0 • Published 5 years ago

eslint-plugin-ios-scriptable v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

eslint-plugin-ios-scriptable

ESLint config for iOS Scriptable (https://scriptable.app)

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ios-scriptable:

$ npm install eslint-plugin-ios-scriptable --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ios-scriptable globally.

Usage

Add ios-scriptable to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ios-scriptable"
    ]
}

Add provided gloabls to the globals section of your .eslintrc configuration file:

{
    "globals": {
        "ios-scriptable/globals": true
    }
}