Skip to content

Instantly share code, notes, and snippets.

@gaurangrshah
Last active June 6, 2022 00:29
Show Gist options
  • Save gaurangrshah/072625d941321e0b5e4fe7bde15a91ae to your computer and use it in GitHub Desktop.
Save gaurangrshah/072625d941321e0b5e4fe7bde15a91ae to your computer and use it in GitHub Desktop.
.next
dist
build
public
node_modules/
{
"extends": [
"next/core-web-vitals",
"plugin:react/recommended",
"eslint:recommended",
"airbnb",
"prettier"
],
"env": {
"browser": true,
"es2021": true,
"jest": true,
"jest/globals": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "jest"],
"rules": {}
}
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
/dist
/public
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
# vercel
.vercel
.vscode
{
"singleQuote": true,
"tabWidth": 2,
"semi": true
}
#!/usr/bin/env bash
rm jsconfig.json
curl https://gist.githubusercontent.com/gaurangrshah/dc54d64be4885b22ce8c413c354a6d65/raw/a1da7f7ec81e6f24bb222a349cc91f530cbc8fff/jsconfig.json >> jsconfig.json
rm next.config.js
curl https://gist.githubusercontent.com/gaurangrshah/dc54d64be4885b22ce8c413c354a6d65/raw/a1da7f7ec81e6f24bb222a349cc91f530cbc8fff/next.config.js >> next.config.js
curl https://gist.githubusercontent.com/gaurangrshah/072625d941321e0b5e4fe7bde15a91ae/raw/f9b1447232c94d5e3d0690306aab05e8b50771ab/.eslintignore >> .eslintignore
curl https://gist.githubusercontent.com/gaurangrshah/072625d941321e0b5e4fe7bde15a91ae/raw/f9b1447232c94d5e3d0690306aab05e8b50771ab/.eslintrc >> .eslintrc
curl https://gist.githubusercontent.com/gaurangrshah/072625d941321e0b5e4fe7bde15a91ae/raw/f9b1447232c94d5e3d0690306aab05e8b50771ab/.prettierrc >> .prettierrc
curl https://gist.githubusercontent.com/gaurangrshah/072625d941321e0b5e4fe7bde15a91ae/raw/f3cc08af7a578ed9a5e697ba60bab697fc03c2db/.prettierignore >> .prettierignore
yarn add -D --exact prettier
yarn add -D eslint-config-prettier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment