Skip to content

Commit

Permalink
adding prettier, debugging, scss, flow, eslint, react-router (#2)
Browse files Browse the repository at this point in the history
* adding prettier and pre-commit step

* enabling link results in editor

* adding debugging capability in vscode

* adding dev env packages and scss

* adding flow

* chrome debugging works

* configuring eslintrc

* adding react router

* adding react router and some links
  • Loading branch information
dparkar authored Aug 8, 2017
1 parent 6fdf92c commit 09cc417
Show file tree
Hide file tree
Showing 8 changed files with 4,931 additions and 960 deletions.
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": "react-app",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"no-extra-semi": "error"
}
}
9 changes: 9 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[ignore]

[include]

[libs]

[options]

[lints]
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# testing
/coverage
/.vscode/chrome

# production
/build
Expand All @@ -19,3 +20,9 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# css
.sass-cache/
*.css.map
*.css
jest_*
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
}
Loading

0 comments on commit 09cc417

Please sign in to comment.