ESLINT Configuration for front end javascript and typescript project. Basically made to work with VueJS.
Renovate Bot
99b63ee76d
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #17 Co-authored-by: Renovate Bot <no-reply@io-projects.com> Co-committed-by: Renovate Bot <no-reply@io-projects.com> |
||
---|---|---|
.drone.yml | ||
.editorconfig | ||
.eslintrc.json | ||
.gitignore | ||
.npmrc | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
renovate.json |
eslint-config
This repository is the NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects.
Installation
Add the registery to your .npmrc
file:
@ioprojects:registry=https://git.endmove.eu/api/packages/IO-ProjectsOfficial/npm/
Install the package:
# with yarn
yarn add -D @ioprojects/eslint-config
# with npm
npm install --save-dev @ioprojects/eslint-config
Usage
Add the following to your .eslintrc.js
file:
module.exports = {
extends: [
'@ioprojects/eslint-config'
]
}
Or
Add the following to your .eslintrc.json
file:
{
"extends": [
"@ioprojects/eslint-config"
]
}
Or
Add the following to your .eslintrc.cjs
file:
module.exports = require('@ioprojects/eslint-config');
Note for developers
When your pull request is merged into the master branch, you can promote your build on drone.endmove.eu to create a usable version. Use master
as the target, and add the VERSION
parameter with one of these values: major | minor | patch | premajor | preminor | prepatch | prerelease
.