Skip to content

Commit

Permalink
[chore] Upgrade eslint, flow and prettier packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Mar 19, 2018
1 parent 604ded2 commit aaf59a0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -23,7 +23,7 @@
]
}
],
"prettier/prettier": "warn", // set to error to enable project wide prettier
"prettier/prettier": "error",
"import/no-extraneous-dependencies": "off",
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1,
Expand Down
15 changes: 8 additions & 7 deletions package.json
Expand Up @@ -15,6 +15,7 @@
"deploy-movies": "yarn run build && cd packages/movies-studio && sanity deploy",
"storybook": "gulp storybook",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --quiet --fix",
"typecheck": "lerna run typecheck",
"start": "npm run test-studio",
"test-studio": "gulp test-studio",
Expand Down Expand Up @@ -56,16 +57,16 @@
"babel-register": "^6.26.0",
"boxen": "^1.3.0",
"chalk": "^2.3.0",
"eslint": "^4.16.0",
"eslint": "^4.19.0",
"eslint-config-prettier": "^2.9.0",
"eslint-import-resolver-webpack": "^0.8.4",
"eslint-plugin-flowtype": "^2.42.0",
"eslint-plugin-flowtype-errors": "^3.3.7",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.5.0",
"eslint-plugin-react": "yannickcr/eslint-plugin-react",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-flowtype-errors": "^3.5.1",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"execa": "^0.9.0",
"flow-bin": "^0.64.0",
"flow-bin": "^0.68.0",
"glob": "^7.1.2",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
Expand Down
11 changes: 0 additions & 11 deletions packages/@sanity/components/src/panes/.eslintrc

This file was deleted.

6 changes: 1 addition & 5 deletions packages/@sanity/validation/package.json
Expand Up @@ -30,11 +30,7 @@
},
"devDependencies": {
"babel-preset-env": "^1.6.1",
"eslint": "^4.13.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-sanity": "^3.1.0",
"jest": "^22.1.4",
"prettier": "^1.9.2"
"jest": "^22.1.4"
},
"dependencies": {
"clone-deep": "^2.0.1",
Expand Down

0 comments on commit aaf59a0

Please sign in to comment.