Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-airbnb-base eslint-plugin-node eslint-config-node
| version: '3' | |
| services: | |
| redis: | |
| image: redis:latest | |
| container_name: docs-cache | |
| restart: on-failure | |
| ports: | |
| - 6379:6379 | |
| volumes: |
Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-airbnb-base eslint-plugin-node eslint-config-node
Step 1 - Install the dependencies
npm install --save-dev eslint| #include <bits/stdc++.h> | |
| using namespace std; | |
| const int N = 1e5; | |
| vector<int>adj_list[N]; | |
| int visited[N], inDegree[N]; | |
| int n, m; | |
| bool detect_cycle(int node) { |