Skip to content

Commit

Permalink
refactor/fix: docs, small fixes and jsdoc eslint (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 authored Jan 16, 2024
1 parent 7751f96 commit e4edf0b
Show file tree
Hide file tree
Showing 60 changed files with 5,988 additions and 5,801 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ env:
node: true
plugins:
- "sort-class-members"
- "jsdoc"
extends: "eslint:recommended"
globals:
BigInt: true
window: true
parserOptions:
ecmaVersion: 2020
settings:
jsdoc:
preferredTypes:
boolean: 'Boolean'
number: 'Number'
bigint: 'BigInt'
string: 'String'
object: 'Object'
tagNamePreference:
param: 'arg'
argument: 'arg'
property: 'prop'
augments: 'extends'
rules:
array-bracket-spacing:
- 2
Expand Down Expand Up @@ -88,3 +102,9 @@ rules:
custom-inspect-method:
- name: "[util.inspect.custom]"
type: method
jsdoc/check-types:
- 2
jsdoc/check-tag-names:
- 2
jsdoc/check-alignment:
- 2
Loading

0 comments on commit e4edf0b

Please sign in to comment.