feat(ci) Setting up drone ci + fix package [test] (#1)
Reviewed-on: #1 Co-authored-by: EndMove <superjeremi1302@gmail.com> Co-committed-by: EndMove <superjeremi1302@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
54
README.md
54
README.md
@@ -1,3 +1,53 @@
|
||||
# ioprojects-ui-eslint
|
||||
# eslint-config
|
||||
|
||||
This repository is the NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects.
|
||||
This repository is the NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects.
|
||||
|
||||
## Installation
|
||||
|
||||
Add the registery to your `.npmrc` file:
|
||||
|
||||
```bash
|
||||
@ioprojects:registry=https://git.endmove.eu/api/packages/IO-ProjectsOfficial/npm/
|
||||
```
|
||||
|
||||
Install the package:
|
||||
|
||||
```bash
|
||||
# with yarn
|
||||
yarn add -D @io-projects/eslint-config
|
||||
|
||||
# with npm
|
||||
npm install --save-dev @io-projects/eslint-config
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add the following to your `.eslintrc.js` file:
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
extends: [
|
||||
'@io-projects/eslint-config'
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
**Or**
|
||||
|
||||
Add the following to your `.eslintrc.json` file:
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": [
|
||||
"@io-projects/eslint-config"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
**Or**
|
||||
|
||||
Add the following to your `.eslintrc.cjs` file:
|
||||
|
||||
```js
|
||||
module.exports = require('@ioprojects/ui-eslint-base');
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user