mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Add better lint checking.
Summary: Make the lint checker check more files. Also, make arc run the linter. Test Plan: - `arc lint` - `make lint` Reviewers: kevinb, alpert Reviewed By: alpert Differential Revision: https://phabricator.khanacademy.org/D17509
This commit is contained in:
@@ -61,10 +61,10 @@ app.get("/katex.css", function(req, res, next) {
|
||||
});
|
||||
});
|
||||
|
||||
app.use(express.static(path.join(__dirname, "static")));
|
||||
app.use(express.static(path.join(__dirname, "build")));
|
||||
app.use("/test", express.static(path.join(__dirname, "test")));
|
||||
app.use("/contrib", express.static(path.join(__dirname, "contrib")));
|
||||
app.use(express["static"](path.join(__dirname, "static")));
|
||||
app.use(express["static"](path.join(__dirname, "build")));
|
||||
app.use("/test", express["static"](path.join(__dirname, "test")));
|
||||
app.use("/contrib", express["static"](path.join(__dirname, "contrib")));
|
||||
|
||||
app.use(function(err, req, res, next) {
|
||||
console.error(err.stack);
|
||||
|
Reference in New Issue
Block a user