@adobe/eslint-config-editorxp
v1.0.8
Published
ESlint configuration
Downloads
2,233
Readme
EditorXP ESlint config
Installation
# for javascript
npm install --save-dev eslint eslint-plugin-header eslint-plugin-json @adobe/eslint-config-editorxp
# for react
npm install --save-dev react eslint-plugin-react
# for angular
npm install --save-dev eslint-angular-react
# for typescript
npm install --save-dev typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
Configuration
Add entry to packages.json
:
{
"eslintConfig": {
"root": true,
"extends": [ "@adobe/eslint-config-editorxp/typescript" ]
}
}
Available config variants:
@adobe/eslint-config-editorxp
@adobe/eslint-config-editorxp/react
@adobe/eslint-config-editorxp/angular
@adobe/eslint-config-editorxp/typescript
Usage
./node_modules/.bin/eslint folder/
Contributing
Contributions are welcome! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.