Skip to content

Commit 702ef26

Browse files
committed
Fixed linting problems + committed the lint config file. (#63)
* Fixed linting problems + committed the lint config file. Generated the linting config file with the following configuration: sam@rti-10678:~/working/trees/connector/rticonnextdds-connector-js$ eslint --init ✔ How would you like to use ESLint? · style ✔ What type of modules does your project use? · commonjs ✔ Which framework does your project use? · none ✔ Does your project use TypeScript? · No / Yes ✔ Where does your code run? · browser ✔ How would you like to define a style for your project? · guide ✔ Which style guide do you want to follow? · standard ✔ What format do you want your config file to be in? · JSON * Fixed eslint file to state we use Node, not Browser Co-authored-by: Sam Raeburn <sam@rti.com> (cherry picked from commit 9cface5)
1 parent 37b3f16 commit 702ef26

5 files changed

Lines changed: 372 additions & 182 deletions

File tree

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"commonjs": true,
5+
"es2021": true
6+
},
7+
"extends": [
8+
"standard"
9+
],
10+
"parserOptions": {
11+
"ecmaVersion": 12
12+
},
13+
"rules": {
14+
}
15+
}

0 commit comments

Comments
 (0)