Skip to content

Commit

Permalink
Merge branch 'main' into tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 committed Jan 7, 2024
2 parents 23c5107 + b583a2b commit 51b7905
Show file tree
Hide file tree
Showing 69 changed files with 1,583 additions and 829 deletions.
42 changes: 29 additions & 13 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# dev environment
/node_modules/
/.turbo/
/dist/
/static/
/public/

# private
.env
#####################################################################################
# Generated
#####################################################################################

## Packages installed by NPM. https://docs.npmjs.com/about-packages-and-modules
node_modules/

## Vitest coverage output. https://vitest.dev/guide/coverage.html
coverage/

## Turbo outputs.
.turbo/

## Vite build outputs for React.
build/

# file system configs
desktop.ini
.DS_Store
## Build outputs from `tsc`, specified by `tsconfig.json`.
dist/

tools/

#####################################################################################
# Development Environment
#####################################################################################

## Static assets.
public/

## Private environment variables.
.env
.env.*
!.env.sample
22 changes: 22 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// @ts-check

/**
* @type {import('eslint').Linter.Config}
*/
const config = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
env: {
browser: true,
es6: true,
node: true,
},
ignorePatterns: ['*.config.*', '*.cjs'],
};

module.exports = config;
60 changes: 42 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,52 @@
#####################################################################################
# Generated
#####################################################################################

## Packages installed by NPM. https://docs.npmjs.com/about-packages-and-modules
node_modules/

# Ignore build directories
## Vitest coverage output. https://vitest.dev/guide/coverage.html
coverage/

## ESLint cache. https://eslint.org/docs/latest/use/command-line-interface#caching
.eslintcache

## Vite build output for React.
build/
dist/

# Ignore cdk related directories
.cdk.staging
cdk.out
## `tsc` output, specified by tsconfig.json
dist/

# Ignore Turbo directory
.turbo
## CDK output.
cdk.out/

# Ignore .env files
*.env
## Logs.
*.log
.pnpm-debug.log*

# Ignore various editor-specific files
.idea
.vscode

# Ignore various log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.log.*
#####################################################################################
# Operating System
#####################################################################################

# Misc
## MacOS folder settings. https://en.wikipedia.org/wiki/.DS_Store
.DS_Store

## Windows folder icon settings. https://learn.microsoft.com/en-us/windows/win32/shell/how-to-customize-folders-with-desktop-ini#use-a-desktopini-file
Desktop.ini


#####################################################################################
# Development Environment
#####################################################################################

## Private environment variables.
.env
.env.*
!.env.example

## JetBrains IDE settings.
.idea/

## VSCode settings.
.vscode/
3 changes: 0 additions & 3 deletions .lintstagedrc.yml

This file was deleted.

43 changes: 29 additions & 14 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
# dev environment
/node_modules/
/.turbo/
/dist/
/static/
/public/

# private
.env
#####################################################################################
# Generated
#####################################################################################

## Packages installed by NPM. https://docs.npmjs.com/about-packages-and-modules
node_modules/

## Vitest coverage output. https://vitest.dev/guide/coverage.html
coverage/

## Turbo outputs.
.turbo/

## Vite build outputs for React.
build/

# file system configs
desktop.ini
.DS_Store
## Build outputs from `tsc`, specified by `tsconfig.json`.
dist/

# misc
README.md

#####################################################################################
# Development Environment
#####################################################################################

## Static assets.
public/

## Private environment variables.
.env
.env.*
!.env.sample
File renamed without changes.
Loading

0 comments on commit 51b7905

Please sign in to comment.