Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $(RELEASE_DIR): clean $(RELEASE_DIR)/linux_amd64/$(BIN) $(RELEASE_DIR)/darwin_am

.PHONY: lint
lint:
./node_modules/.bin/tslint -c tslint.json ts/**/*.ts --fix
./node_modules/.bin/oxlint -c oxlint.config.ts ts/

.PHONY: debug
debug: clean $(STATIC_SOURCES) $(STATIC_DIR)/main.js
Expand Down
15 changes: 15 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { defineConfig } from "oxlint";

export default defineConfig({
plugins: ["typescript"],
env: {
browser: true,
},
rules: {
// Disabled to maintain parity with the previous tslint configuration
"eqeqeq": "off",
"no-empty": "off",
"no-bitwise": "off",
"no-console": "off",
},
});
Loading
Loading