ng add @angular-eslint/schematics
npm install prettier prettier-eslint eslint-config-prettier eslint-plugin-prettier --save-dev
Filename: .eslintrc.json
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
/* Hide main tabs toolbar */ | |
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar { | |
opacity: 0; | |
pointer-events: none; | |
} | |
#main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
visibility: collapse !important; | |
} | |
/* Sidebar min and max width removal */ |
version: '3.7' | |
services: | |
unifi-db: | |
image: docker.io/mongo:latest | |
container_name: unifi-db | |
volumes: | |
- ./data:/data/db | |
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro |
#main-window[titlepreface*="XXX"] #TabsToolbar | |
{ | |
visibility: collapse; | |
} | |
/* Auto hide horizontal tab */ | |
#main-window #titlebar { | |
overflow: hidden; | |
transition: height 0.3s 0.3s !important; | |
} | |
/* Default state: Set initial height to enable animation */ |