Skip to content
Snippets Groups Projects
Commit 0669eaf8 authored by michael.minelli's avatar michael.minelli
Browse files

Package => Add Typescript ESLint

parent 46a9ab58
No related branches found
No related tags found
No related merge requests found
dist
node_modules
.gitlab-ci
\ No newline at end of file
{
"root" : true,
"parser" : "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
]
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EslintConfiguration">
<option name="fix-on-save" value="true" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
...@@ -22,9 +22,10 @@ ...@@ -22,9 +22,10 @@
}, },
"scripts" : { "scripts" : {
"dotenv:build": "npx dotenv-vault local build", "dotenv:build": "npx dotenv-vault local build",
"lint" : "npx eslint .",
"genversion" : "npx genversion -s -e src/config/Version.ts", "genversion" : "npx genversion -s -e src/config/Version.ts",
"build" : "npm run genversion; npx tsc", "build" : "npm run genversion; npx tsc",
"start:dev" : "npm run genversion; npx ts-node src/app.ts", "start:dev" : "npm run genversion; npm run lint; npx ts-node src/app.ts",
"test" : "echo \"Error: no test specified\" && exit 1" "test" : "echo \"Error: no test specified\" && exit 1"
}, },
"dependencies" : { "dependencies" : {
...@@ -49,6 +50,8 @@ ...@@ -49,6 +50,8 @@
"@types/js-yaml" : "^4.0.5", "@types/js-yaml" : "^4.0.5",
"@types/node" : "^18.17.1", "@types/node" : "^18.17.1",
"@types/tar-stream" : "^2.2.2", "@types/tar-stream" : "^2.2.2",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser" : "^6.10.0",
"dotenv-vault" : "^1.25.0", "dotenv-vault" : "^1.25.0",
"genversion" : "^3.1.1", "genversion" : "^3.1.1",
"pkg" : "^5.8.1", "pkg" : "^5.8.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment