diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..634cedc77 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "eslint.validate": [ + "glimmer-ts", + "glimmer-js" + ] +} \ No newline at end of file diff --git a/lib/broccoli/docs-compiler.js b/lib/broccoli/docs-compiler.js index 5baaad373..6164705f6 100644 --- a/lib/broccoli/docs-compiler.js +++ b/lib/broccoli/docs-compiler.js @@ -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); diff --git a/package.json b/package.json index 288d44ad4..1e77f6d9c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index dda6f0b12..8c444c65f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"