DELIVERY-8: add ci, package stabilisation #1

Merged
EndMove merged 29 commits from DELIVERY-8 into master 2023-06-28 13:26:09 +02:00
3 changed files with 43 additions and 3 deletions
Showing only changes of commit 20db8a9d56 - Show all commits

View File

@ -4,6 +4,14 @@ This repository is the NPM package for ESLINT configuration of IO-Projects TypeS
## Installation ## Installation
Add the registery to your `.npmrc` file:
```bash
@ioprojects:registry=https://git.endmove.eu/api/packages/IO-ProjectsOfficial/npm/
```
Install the package:
```bash ```bash
# with yarn # with yarn
yarn add -D @io-projects/eslint-config yarn add -D @io-projects/eslint-config
@ -11,3 +19,35 @@ yarn add -D @io-projects/eslint-config
# with npm # with npm
npm install --save-dev @io-projects/eslint-config 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');
```

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "@ioprojects/ui-eslint-base", "name": "@ioprojects/eslint-config",
"version": "1.0.4", "version": "1.0.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@ioprojects/ui-eslint-base", "name": "@ioprojects/eslint-config",
"version": "1.0.4", "version": "1.0.4",
"license": "SEE LICENSE FILE", "license": "SEE LICENSE FILE",
"dependencies": { "dependencies": {

View File

@ -1,5 +1,5 @@
{ {
"name": "@endmove/eslint-config", "name": "@ioprojects/eslint-config",
"version": "1.0.4", "version": "1.0.4",
"description": "NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects", "description": "NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects",
"author": "IO-Projects <contact@io-projects.com>", "author": "IO-Projects <contact@io-projects.com>",