Skip to content
Permalink
Browse files

fix: ran prettier to fix CI (#3678)

- Ran prettier to fix CI
- moved prettier Eslint rule into eslintrc file, so that it will be automatically recognized by Visual Studio Code e.g. and automatically fixed
  • Loading branch information
mxschmitt authored and taion committed Apr 19, 2019
1 parent 65ad0b9 commit 1719da52f839d89ee995fb8610d32405ae330c61
Showing with 9 additions and 7 deletions.
  1. +4 −1 .eslintrc
  2. +3 −4 package.json
  3. +2 −2 www/src/pages/components/navbar.js
@@ -4,5 +4,8 @@
],
"plugins": [
"prettier"
]
],
"rules": {
"prettier/prettier": "error"
}
}
@@ -16,9 +16,8 @@
"build-docs": "yarn --cwd www run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"start": "yarn --cwd www run develop",
"ci-lint": "eslint --rule \"prettier/prettier: 2\"",
"format": "npm run ci-lint . -- --fix",
"lint": "npm run ci-lint .",
"format": "eslint . --fix",
"lint": "eslint .",
"release": "rollout",
"prepublishOnly": "npm run build",
"tdd": "karma start",
@@ -34,7 +33,7 @@
},
"lint-staged": {
"*.js": [
"npm run ci-lint -- --fix",
"eslint --fix",
"git add"
]
},
@@ -67,8 +67,8 @@ export default withLayout(function NaπvbarSection({ data }) {
Forms
</LinkedHeading>
<p>
Use <code>{'<Form inline>'}</code> and your various form controls
within the Navbar. Align the contents as needed with utility classes.
Use <code>{'<Form inline>'}</code> and your various form controls within
the Navbar. Align the contents as needed with utility classes.
</p>
<ReactPlayground codeText={NavbarForm} />

0 comments on commit 1719da5

Please sign in to comment.
You can’t perform that action at this time.