Skip to content

Instantly share code, notes, and snippets.

View joshnavdev's full-sized avatar

Joshua Navarro joshnavdev

  • Globant
  • Perú - Lima
View GitHub Profile
@joshnavdev
joshnavdev / .prettierrc.yaml
Last active June 8, 2024 00:41
EsLint + TypeScript + Prettier - Flat Config
semi: true
tabWidth: 2
printWidth: 120
singleQuote: true
endOfLine: auto
{
"extends": "stylelint-config-standard-scss"
}
@joshnavdev
joshnavdev / .prettierrc
Last active November 3, 2022 22:46
Prettier basic configuration
{
"semi": true,
"tabWidth": 2,
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"bracketSameLine": true
}
@joshnavdev
joshnavdev / .eslintrc.json
Last active November 3, 2022 18:51
ESLint config React, TypeScript, Airbnb, Prettier and Jest
{
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended",
"plugin:import/recommended"
],
"plugins": ["react", "@typescript-eslint", "jest"],
@joshnavdev
joshnavdev / sequelize-schema-file-generator.js
Created January 3, 2022 21:25 — forked from manuelbieh/sequelize-schema-file-generator.js
Automatically generates migration files from your sequelize models
import * as models from "models";
import Sequelize from "sequelize";
import fs from "fs";
delete models.default;
const sequelize = new Sequelize(
'',
'',
'', {