Skip to content

Instantly share code, notes, and snippets.

View DaviGn's full-sized avatar
😛
Coding...

Davi Nascimento DaviGn

😛
Coding...
View GitHub Profile
@DaviGn
DaviGn / settings.json
Created January 17, 2022 23:51
VSCode settings
{
"workbench.iconTheme": "material-icon-theme",
"workbench.sideBar.location": "left",
"workbench.editor.labelFormat": "short",
"workbench.startupEditor": "newUntitledFile",
"editor.renderLineHighlight": "gutter",
"editor.parameterHints.enabled": false,
"editor.rulers": [80, 120],
"editor.tokenColorCustomizations": {
"semanticHighlighting": false
@DaviGn
DaviGn / .eslintrc.json
Last active June 16, 2022 22:08
ESLint React settings
{
"env": {
"es6": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
@DaviGn
DaviGn / gist:56eb69452e4b9a2ef0519254be9eac54
Created February 22, 2022 16:36
AAA - Test Arrange Act Assert snipet for Visual Studio
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>Test Arrange-Act-Assert</Title>
<Shortcut>aaa</Shortcut>
<Description>Code snippet for a test Arrange-Act-Assert</Description>
@DaviGn
DaviGn / .eslintrc.json
Last active December 31, 2022 19:44
ESLint Node settings
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"eslint:recommended",
@DaviGn
DaviGn / .prettierrc.js
Last active December 31, 2022 19:52
Prettier
module.exports = {
tabWidth: 4,
bracketSpacing: true,
jsxBracketSameLine: false,
singleQuote: true,
semi: true,
trailingComma: 'none',
endOfLine: 'auto'
};