@sap-ux/eslint-plugin-fiori-tools
v0.5.0
Published
Custom linting plugin for Fiori tools apps
Downloads
17,737
Readme
@sap-ux/eslint-plugin-fiori-tools
Custom linting plugin for SAPUI5 Fiori apps
Installation
Npm
npm install --save @sap-ux/eslint-plugin-fiori-tools
Yarn
yarn add @sap-ux/eslint-plugin-fiori-tools
Pnpm
pnpm add @sap-ux/eslint-plugin-fiori-tools
Usage
To consume this module, add @sap-ux/eslint-plugin-fiori-tools to extend
in your existing eslintrc configuration. You must specify one of the following configurations:
- defaultJS: contains rules for JavaScript for both prod and test code from plugin eslint-plugin-fiori-custom
- defaultTS: contains rules for typescript and rules for both prod and test code from plugin eslint-plugin-fiori-custom
- testcode: contains rules for typescript and rules for test code from plugin eslint-plugin-fiori-custom
- prodCode: contains rules for typescript and rules for production code from plugin eslint-plugin-fiori-custom