0.0.5 • Published 3 years ago

arc-eslint v0.0.5

Weekly downloads
3
License
AGPL-3.0-or-later
Repository
github
Last release
3 years ago

arc-eslint

ES-lint linter for arcanist & phabricator

Install & configuration

  1. Install the package via npm:
npm install arc-eslint eslint

Sample .arcconfig

{
    "project_id": "YourProjectName",
    "load" : [
        "./node_modules/arc-eslint"
    ]
}

Sample .arclint

{
    "linters": {
        "js-files": {
            "type": "eslint",
            "include": "(^src/app/.*\\.js(x)$)",
            "exclude": "(^build/.*\\.js$)",
            "bin": "./node_modules/.bin/eslint"
        }
    }
}

Custom config for arcanist (other then IDE, for instance)

{
    "linters": {
        "js-files": {
            "type": "eslint",
            "include": "(^src/app/.*\\.js(x)$)",
            "exclude": "(^build/.*\\.js$)",
            "bin": "./node_modules/.bin/eslint",
            "eslint.config": "./.eslintrc.strict.json"
        }
    }
}
0.0.5

3 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

6 years ago