Skip to content

Instantly share code, notes, and snippets.

View eduardoreche's full-sized avatar
🤓

Eduardo Reche eduardoreche

🤓
View GitHub Profile
@eduardoreche
eduardoreche / settings.json
Last active September 20, 2023 14:31
My VSCode User Settings late-2023
{
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
@eduardoreche
eduardoreche / settings.json
Last active May 12, 2022 18:13
VSCode settings
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.autoClosingBrackets": "languageDefined"
},
"prettier.printWidth": 80,
"prettier.singleQuote": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": false,
"terminal.integrated.minimumContrastRatio": 4.5,
@eduardoreche
eduardoreche / webpack.config.js
Created October 3, 2017 16:15
Webpack config with file and image-webpack loaders
module.exports = {
entry: ['./src/index.js'],
output: {
path: __dirname,
publicPath: '/',
filename: 'bundle.js'
},
module: {
rules: [
{
@eduardoreche
eduardoreche / ReactDatesPlacesAutoCompleteReduxForm.js
Last active October 3, 2017 16:14
Use of react-dates and react-places-autocomplete within redux-form
import moment from 'moment';
import React, { Component } from 'react';
import { Field, reduxForm } from 'redux-form';
import { DateRangePicker } from 'react-dates';
import PlacesAutocomplete, {
geocodeByAddress,
getLatLng
} from 'react-places-autocomplete';
import 'react-dates/lib/css/_datepicker.css';
@eduardoreche
eduardoreche / Callback call in angular ng-click.markdown
Created August 5, 2015 00:33
Callback call in angular ng-click