Skip to content

Commit

Permalink
Replace prettier with eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebuilds committed Mar 6, 2017
1 parent 2cc3da1 commit 6b4c249
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 508 deletions.
10 changes: 0 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,5 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab

[*.js]
indent_size = 4

[*.json]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- ~/.cache/yarn
test:
pre:
- yarn lint
- yarn format-check
- yarn flow
override:
- yarn test -- --runInBand # Jest overloads our poor container when it tries to parallelise tests, and they all fail.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"start": "node_modules/react-native/packager/packager.sh",
"lint": "eslint .",
"lint-fix": "npm run lint -- --fix",
"format-check": "prettier-check '{app,__{tests,mocks}__}/**/*.js'",
"format": "prettier '{app,__{tests,mocks}__}/**/*.js' --write",
"flow": "flow",
"test": "jest",
"update-snapshots": "jest -u"
Expand All @@ -22,17 +22,14 @@
"react-native-vector-icons": "^4.0.0"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-jest": "^19.0.0",
"babel-preset-react-native": "1.9.1",
"eslint": "^3.15.0",
"eslint-config-keystone": "^3.0.0",
"eslint-config-keystone-react": "^1.0.0",
"eslint-plugin-react": "^6.10.0",
"flow-bin": "^0.39.0",
"flow-typed": "^2.0.0",
"jest": "18.1.0",
"mockdate": "^2.0.1",
"prettier": "^0.21.0",
"prettier-check": "^1.0.0",
"react-test-renderer": "15.4.2"
},
"jest": {
Expand Down
Loading

0 comments on commit 6b4c249

Please sign in to comment.