Skip to content

Instantly share code, notes, and snippets.

View Alanch8's full-sized avatar
🗻
Focusing

Aitor Lancharro Alanch8

🗻
Focusing
View GitHub Profile
"scripts": {
"ng": "ng",
"start": "ng serve --o",
"debbug": "ng serve --host=127.0.0.1 --o",
"build": "ng build",
"build:development": "ng build --configuration development",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"format": "prettier \"**/*.ts\" --write --ignore-path .gitignore",
"lint": "eslint \"**/*.ts\" --ignore-path .gitignore",
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
}
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
npm install eslint-config-prettier
# Ignore artifacts:
coverage
node_modules/
build/
env/
/.vscode
dist
.gitignore
npm install --save-dev --save-exact prettier
npm init @eslint/config
npm install @typescript-eslint/eslint-plugin@latest --save-dev
ng new projec-name