Skip to content

Instantly share code, notes, and snippets.

View boris-chb's full-sized avatar
🔥
this is fine 🥲

Boris boris-chb

🔥
this is fine 🥲
View GitHub Profile
@geordyjames
geordyjames / eslint_prettier_airbnb.md
Last active October 27, 2025 08:29
VSCode - ESLint, Prettier & Airbnb Setup for Node.js Projects

VSCode - ESLint, Prettier & Airbnb Setup for Node.js Projects

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-airbnb-base eslint-plugin-node eslint-config-node
@Bamblehorse
Bamblehorse / autoComponent.js
Last active March 2, 2023 16:06
Call this script with 'node autoComponent.js' - nodemon works well too
const chokidar = require("chokidar");
const fs = require("fs");
const templates = {
index: name =>
`// @flow
import React from 'react';
import './${name}.css';