Skip to content

Commit 0120230

Browse files
committed
Initial Commit with editor set up.
0 parents  commit 0120230

File tree

6 files changed

+69
-0
lines changed

6 files changed

+69
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

esllintrc.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:import/errors",
5+
"plugin:react/recommended",
6+
"prettier",
7+
"prettier/react"
8+
],
9+
"rules": {
10+
"react/prop-types": 0,
11+
"no-console": 1
12+
},
13+
"plugins": ["react", "import"],
14+
"parser": "babel-eslint",
15+
"parserOptions": {
16+
"ecmaVersion": 2018,
17+
"sourceType": "module",
18+
"ecmaFeatures": {
19+
"jsx": true
20+
}
21+
},
22+
"env": {
23+
"es6": true,
24+
"browser": true,
25+
"node": true
26+
}
27+
}

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "react-rewind",
3+
"version": "1.0.0",
4+
"description": "\"Time Travel Debugger for React Hooks\"",
5+
"main": "index.js",
6+
"scripts": {
7+
"format": "prettier \" src/**/*.{js, jsx, css, json}\"",
8+
"lint": "eslint \"scr/**/*.{js,jsx}\"",
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/reactrewind"
14+
},
15+
"author": "react-rewind",
16+
"license": "ISC",
17+
"devDependencies": {
18+
"babel-eslint": "^10.0.1",
19+
"eslint": "^5.13.0",
20+
"eslint-config-prettier": "^4.0.0",
21+
"eslint-plugin-import": "^2.16.0",
22+
"eslint-plugin-prettier": "^3.0.1",
23+
"eslint-plugin-react": "^7.12.4",
24+
"prettier": "^1.16.4"
25+
},
26+
"dependencies": {
27+
"react": "^16.8.1",
28+
"react-dom": "^16.8.1"
29+
}
30+
}

src/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)