-
Step 1 - Install the dependencies
- eslint
- ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
npm install --save-dev eslint
- typescript-eslint/parser
- eslint
๐ฅ๏ธ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) { |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
redis: | |
image: redis:latest | |
container_name: docs-cache | |
restart: on-failure | |
ports: | |
- 6379:6379 | |
volumes: |