mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
feat: transition from TSLint to ESLint
This commit is contained in:
20
package.json
20
package.json
@@ -3,7 +3,7 @@
|
||||
"version": "0.29.1",
|
||||
"description": "A collection of configuration base files for StApps projects.",
|
||||
"scripts": {
|
||||
"build": "npm run tslint && npm run compile",
|
||||
"build": "npm run lint && npm run compile",
|
||||
"compile": "rimraf lib && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
"documentation": "typedoc --out docs --readme README.md --includeVersion --listInvalidSymbolLinks --entryPointStrategy expand src",
|
||||
@@ -12,7 +12,7 @@
|
||||
"preversion": "npm run prepublishOnly",
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
||||
"lint": "eslint -c .eslintrc.json --ignore-path .eslintignore --ext .ts src/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -22,7 +22,8 @@
|
||||
"contributors": [
|
||||
"Anselm Rochus Stordeur",
|
||||
"Jovan Krunic",
|
||||
"Rainer Killinger <mail-openstapps@killinger.co>"
|
||||
"Rainer Killinger <mail-openstapps@killinger.co>",
|
||||
"Thea Schöbl"
|
||||
],
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
@@ -32,16 +33,23 @@
|
||||
"chalk": "4.1.2",
|
||||
"commander": "9.2.0",
|
||||
"semver": "7.3.7",
|
||||
"tslint": "6.1.3",
|
||||
"tslint-eslint-rules": "5.4.0",
|
||||
"yaml": "1.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/eslint-config": "0.0.3",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"rimraf": "3.0.2",
|
||||
"typedoc": "0.22.15",
|
||||
"typescript": "4.4.4"
|
||||
"typescript": "4.4.4",
|
||||
"eslint": "8.14.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-jsdoc": "39.2.8",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"eslint-plugin-unicorn": "42.0.0",
|
||||
"prettier": "2.6.2",
|
||||
"@typescript-eslint/eslint-plugin": "5.20.0",
|
||||
"@typescript-eslint/parser": "5.20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.4.4"
|
||||
|
||||
Reference in New Issue
Block a user