Skip to content

Instantly share code, notes, and snippets.

@lgraubner
Last active October 27, 2017 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgraubner/bf57f9d2129bcf00d3a786d954039efa to your computer and use it in GitHub Desktop.
Save lgraubner/bf57f9d2129bcf00d3a786d954039efa to your computer and use it in GitHub Desktop.
Default project setup files
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
module.exports = {
root: true,
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'prettier/flowtype', 'prettier/react'],
plugins: ['flowtype'],
env: {
browser: true,
node: true,
jest: true
},
rules: {
'react/prop-types': 0,
'react/jsx-filename-extension': 0
}
};
[ignore]
[include]
[libs]
[options]
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage
# Dependency directories
node_modules/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# General
.DS_Store
# Icon must end with two \r
Icon
# Thumbnails
._*
# build folder
dist
{
"semi": false,
"singleQuote": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment