diff --git a/.eslintignore b/.eslintignore index 6461dee..ab9def8 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ *.ts +update-dependencies.js diff --git a/.eslintrc.json b/.eslintrc.json index 695c9dd..d01cc01 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,43 +1,93 @@ { - "env": { - "browser": true, - "es2021": true, - "node": true - }, - "extends": [ - "google" - ], - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - }, - "rules": { - "require-jsdoc": "off", - "quotes": [ - "error", - "double" + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": [ + "google" ], - "indent": [ - "error", - 4, - { - "SwitchCase": 1 - } + "plugins": [ + "jsdoc" ], - "max-len": [ - "off" - ], - "object-curly-spacing": [ - "error", - "always" - ], - "comma-dangle": [ - "error", - "never" - ], - "arrow-parens": [ - "error", - "as-needed" - ] - } + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + "require-jsdoc": "off", + "quotes": [ + "error", + "double" + ], + "indent": [ + "error", + 4, + { + "SwitchCase": 1 + } + ], + "max-len": [ + "off" + ], + "object-curly-spacing": [ + "error", + "always" + ], + "comma-dangle": [ + "error", + "never" + ], + "arrow-parens": [ + "error", + "as-needed" + ], + "valid-jsdoc": 0, + "jsdoc/check-access": 1, + "jsdoc/check-alignment": 1, + "jsdoc/check-indentation": 1, + "jsdoc/check-line-alignment": 1, + "jsdoc/check-param-names": 1, + "jsdoc/check-property-names": 1, + "jsdoc/check-syntax": 1, + "jsdoc/check-tag-names": 1, + "jsdoc/check-types": 1, + "jsdoc/check-values": 1, + "jsdoc/empty-tags": 1, + "jsdoc/implements-on-classes": 1, + "jsdoc/match-description": 1, + "jsdoc/multiline-blocks": 1, + "jsdoc/newline-after-description": 1, + "jsdoc/no-bad-blocks": 1, + "jsdoc/no-defaults": 1, + "jsdoc/no-missing-syntax": 0, + "jsdoc/no-multi-asterisks": 1, + "jsdoc/no-restricted-syntax": 0, + "jsdoc/no-types": 0, + "jsdoc/no-undefined-types": 1, + "jsdoc/require-asterisk-prefix": 1, + "jsdoc/require-description": 0, + "jsdoc/require-description-complete-sentence": 0, + "jsdoc/require-example": 0, + "jsdoc/require-file-overview": 0, + "jsdoc/require-hyphen-before-param-description": 1, + "jsdoc/require-jsdoc": 1, + "jsdoc/require-param": 1, + "jsdoc/require-param-description": 0, + "jsdoc/require-param-name": 1, + "jsdoc/require-param-type": 1, + "jsdoc/require-property": 1, + "jsdoc/require-property-description": 1, + "jsdoc/require-property-name": 1, + "jsdoc/require-property-type": 1, + "jsdoc/require-returns": 1, + "jsdoc/require-returns-check": 1, + "jsdoc/require-returns-description": 0, + "jsdoc/require-returns-type": 1, + "jsdoc/require-throws": 1, + "jsdoc/require-yields": 1, + "jsdoc/require-yields-check": 1, + "jsdoc/tag-lines": 1, + "jsdoc/valid-types": 1 + } } diff --git a/.gitignore b/.gitignore index 69d2288..1776335 100644 --- a/.gitignore +++ b/.gitignore @@ -105,3 +105,5 @@ dist # IDE / Editor .idea + +.DS_Store diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..43bf88b --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +/update-dependencies.js +/.run/ diff --git a/.run/lint.run.xml b/.run/lint.run.xml new file mode 100644 index 0000000..d8ea667 --- /dev/null +++ b/.run/lint.run.xml @@ -0,0 +1,12 @@ + + + + + +