Skip to content

Commit

Permalink
Update prettier and fix lint (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Dec 21, 2023
1 parent 191d51b commit 2c3b806
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"eslint.validate": [
"glimmer-ts",
"glimmer-js"
]
}
7 changes: 3 additions & 4 deletions lib/broccoli/docs-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ module.exports = class DocsCompiler extends CachingWriter {

build() {
let name = this.name;
let projectVersion = require(path.join(
this.project.root,
'package.json',
)).version;
let projectVersion = require(
path.join(this.project.root, 'package.json'),
).version;
let generatedDocs = this.inputPaths
.map((p) => fs.readFileSync(path.join(p, 'docs/index.json')))
.map(JSON.parse);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"loader.js": "^4.7.0",
"miragejs": "^0.1.46",
"mocha": "^10.1.0",
"prettier": "^3.0.2",
"prettier": "^3.1.1",
"qunit": "^2.19.4",
"qunit-dom": "^2.0.0",
"release-it": "^15.5.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12689,10 +12689,10 @@ prettier@^2.5.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==

prettier@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.2.tgz#78fcecd6d870551aa5547437cdae39d4701dca5b"
integrity sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==
prettier@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848"
integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==

pretty-hrtime@^1.0.3:
version "1.0.3"
Expand Down

0 comments on commit 2c3b806

Please sign in to comment.