Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/visit-x/arc-eslint
ES-lint linter for arcanist & phabricator
https://github.com/visit-x/arc-eslint
arc eslint phabricator phabricator-extension
Last synced: 20 days ago
JSON representation
ES-lint linter for arcanist & phabricator
- Host: GitHub
- URL: https://github.com/visit-x/arc-eslint
- Owner: VISIT-X
- Created: 2019-11-20T06:31:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T13:35:07.000Z (about 2 years ago)
- Last Synced: 2024-11-27T17:01:40.309Z (26 days ago)
- Topics: arc, eslint, phabricator, phabricator-extension
- Language: PHP
- Size: 28.3 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arc-eslint
ES-lint linter for arcanist & phabricator
### Install & configuration
1. Install the package via npm:
```
npm install arc-eslint eslint
```#### Sample .arcconfig
```json
{
"project_id": "YourProjectName",
"load" : [
"./node_modules/arc-eslint"
]
}
```#### Sample .arclint
```json
{
"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)
```json
{
"linters": {
"js-files": {
"type": "eslint",
"include": "(^src/app/.*\\.js(x)$)",
"exclude": "(^build/.*\\.js$)",
"bin": "./node_modules/.bin/eslint",
"eslint.config": "./.eslintrc.strict.json"
}
}
}
```