Skip to content

Commit 4800d7d

Browse files
author
Pelle Wessman
committed
Sync linting with socket-cli-js
1 parent f5ccc50 commit 4800d7d

File tree

3 files changed

+689
-2
lines changed

3 files changed

+689
-2
lines changed

.eslintrc

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,34 @@
11
{
2-
"extends": "@socketsecurity",
32
"root": true,
3+
"plugins": [
4+
"jsdoc",
5+
"unicorn"
6+
],
7+
"extends": [
8+
"@socketsecurity",
9+
"plugin:jsdoc/recommended"
10+
],
11+
"settings": {
12+
"jsdoc": {
13+
"mode": "typescript"
14+
}
15+
},
416
"parserOptions": {
517
"project": "./tsconfig.json"
618
},
719
"rules": {
8-
"no-console": "warn"
20+
"@typescript-eslint/quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }],
21+
"no-console": "warn",
22+
23+
"jsdoc/check-types": "off",
24+
"jsdoc/no-undefined-types": "off",
25+
"jsdoc/require-jsdoc": "warn",
26+
"jsdoc/require-param-description": "off",
27+
"jsdoc/require-property-description": "off",
28+
"jsdoc/require-returns-description": "off",
29+
"jsdoc/require-yields": "off",
30+
"jsdoc/valid-types": "off",
31+
32+
"unicorn/expiring-todo-comments": "warn"
933
}
1034
}

0 commit comments

Comments
 (0)