Last active
June 23, 2016 19:16
-
-
Save gordlea/d2a9b96c85811aea55b1de3820d41382 to your computer and use it in GitHub Desktop.
js project boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Use this file as a starting point for your project's .eslintrc. | |
// Copy this file, and add rule overrides as needed. | |
{ | |
"extends": "airbnb", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"experimentalObjectRestSpread": true | |
} | |
}, | |
"rules": { | |
"indent": [2, 4, {"SwitchCase": 1}], | |
"react/jsx-indent": [2, 4], | |
"react/jsx-indent-props": [2, 4] | |
}, | |
"env": { | |
"jasmine": true, | |
"jest": true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scss_files: 'src/scss/**/*.css.scss' | |
linters: | |
Indentation: | |
width: 4 | |
NestingDepth: | |
enabled: true | |
max_depth: 5 | |
ignore_parent_selectors: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[*.md] | |
trim_trailing_whitespace = false | |
# 4 space indentation | |
[*.json] | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment