Skip to content
Merged
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
3 changes: 3 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import tseslint from "typescript-eslint";
import globals from "globals";
import jsdoc from "eslint-plugin-jsdoc";
import prettier from "eslint-plugin-prettier";
import importPlugin from "eslint-plugin-import";

export default defineConfig(
eslint.configs.recommended,
Expand All @@ -22,6 +23,7 @@ export default defineConfig(
},
plugins: {
prettier,
import: importPlugin,
},
rules: {
"prettier/prettier": [2, { endOfLine: "auto" }],
Expand All @@ -39,6 +41,7 @@ export default defineConfig(
"Prefer arrow functions over invoking Function.prototype.bind",
},
],
"import/extensions": 2,
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/node_simple.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

// Connecting to ROS
import * as ROSLIB from "../src/RosLib";
import * as ROSLIB from "../src/RosLib.ts";

const ros = new ROSLIB.Ros({
url: "ws://localhost:9090",
Expand Down
Loading