Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thsmi/sieve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmid <schmid-thomas@gmx.net>2018-12-22 21:48:28 +0300
committerThomas Schmid <schmid-thomas@gmx.net>2018-12-22 21:48:28 +0300
commit546ea7ad762f4592cd55cf5d3d86535b28ecb5a5 (patch)
tree4a874263c7ee28c4721cb93c8eef5f19b8640366 /.eslintrc.json
parentaa5153fe81fa6dccb4288d47e9b7ce0040ce5752 (diff)
Update packages
Switch to new source for material design icons as the old one is broken Use eslint-plugin-jsdoc as eslint deprected jsdoc liniting
Diffstat (limited to '.eslintrc.json')
-rwxr-xr-x.eslintrc.json38
1 files changed, 27 insertions, 11 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index ac198377..53f9e48c 100755
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,4 +1,7 @@
{
+ "plugins": [
+ "jsdoc"
+ ],
"extends": "eslint:recommended",
"env": {
"browser": true,
@@ -13,6 +16,13 @@
},
"sourceType": "script"
},
+ "settings": {
+ "jsdoc": {
+ "allowOverrideWithoutParam": true,
+ "allowImplementsWithoutParam": true,
+ "allowAugmentsExtendsWithoutParam": true
+ }
+ },
"rules": {
"array-callback-return": "error",
"func-call-spacing": [
@@ -108,7 +118,6 @@
],
"constructor-super": "warn",
"valid-typeof": "warn",
- "valid-jsdoc": "warn",
"no-alert": "warn",
"no-magic-numbers": "warn",
"no-throw-literal": "error",
@@ -154,15 +163,22 @@
"error",
"always"
],
- "require-jsdoc": [
- "error",
- {
- "require": {
- "FunctionDeclaration": true,
- "MethodDefinition": true,
- "ClassDeclaration": true
- }
- }
- ]
+ "jsdoc/newline-after-description": 0,
+ "jsdoc/valid-types": 1,
+ "jsdoc/no-undefined-types": 0,
+ "jsdoc/require-description-complete-sentence": 0,
+ "jsdoc/check-examples": 1,
+ "jsdoc/check-param-names": 1,
+ "jsdoc/check-tag-names": 1,
+ "jsdoc/check-types": 1,
+ "jsdoc/require-param": 1,
+ "jsdoc/require-param-description": 1,
+ "jsdoc/require-param-name": 1,
+ "jsdoc/require-param-type": 1,
+ "jsdoc/require-returns-description": 1,
+ "jsdoc/require-returns-type": 1,
+ "jsdoc/require-description": 0,
+ "jsdoc/require-example": 0,
+ "jsdoc/require-hyphen-before-param-description": 0
}
} \ No newline at end of file