Custom ESLint rule @openlayers/valid-tsdoc
This commit is contained in:
+14
-1
@@ -39,6 +39,7 @@
|
|||||||
"rbush": "2.0.2"
|
"rbush": "2.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@openlayers/eslint-plugin": "^4.0.0-beta.1",
|
||||||
"buble": "^0.19.3",
|
"buble": "^0.19.3",
|
||||||
"buble-loader": "^0.5.1",
|
"buble-loader": "^0.5.1",
|
||||||
"chaikin-smooth": "^1.0.4",
|
"chaikin-smooth": "^1.0.4",
|
||||||
@@ -84,7 +85,19 @@
|
|||||||
"webpack-dev-server": "^3.1.4"
|
"webpack-dev-server": "^3.1.4"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "openlayers"
|
"extends": "openlayers",
|
||||||
|
"plugins": [
|
||||||
|
"@openlayers"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"valid-jsdoc": "off",
|
||||||
|
"@openlayers/valid-tsdoc": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"requireReturn": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"ol.css"
|
"ol.css"
|
||||||
|
|||||||
Reference in New Issue
Block a user