mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +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:
@@ -1,3 +1,9 @@
|
||||
/* global beforeEach: false */
|
||||
/* global jasmine: false */
|
||||
/* global expect: false */
|
||||
/* global it: false */
|
||||
/* global describe: false */
|
||||
|
||||
var splitAtDelimiters = require("./splitAtDelimiters");
|
||||
|
||||
beforeEach(function() {
|
||||
@@ -28,6 +34,7 @@ beforeEach(function() {
|
||||
var correct = result[i];
|
||||
|
||||
var good = true;
|
||||
var diff;
|
||||
|
||||
if (real.type !== correct.type) {
|
||||
good = false;
|
||||
|
Reference in New Issue
Block a user