pub struct JsDocPluginSettings {
pub augments_extends_replaces_docs: Option<bool>,
pub exempt_destructured_roots_from_chekcs: Option<bool>,
pub ignore_internal: Option<bool>,
pub ignore_private: Option<bool>,
pub ignore_replaces_docs: Option<bool>,
pub implements_replaces_docs: Option<bool>,
pub override_replaces_docs: Option<bool>,
pub tag_name_preference: Option<BTreeMap<String, TagNamePreference>>,
}Expand description
Settings for the Jsdoc plugin. See more: https://oxc.rs/docs/guide/usage/linter/config-file-reference.html#settings-jsdoc
Fields§
§augments_extends_replaces_docs: Option<bool>Only for require-(yields|returns|description|example|param|throws) rules.
exempt_destructured_roots_from_chekcs: Option<bool>Only for require-param-type and require-param-description rule.
ignore_internal: Option<bool>For all rules but NOT apply to empty-tags rule.
ignore_private: Option<bool>For all rules but NOT apply to check-access and empty-tags rule.
ignore_replaces_docs: Option<bool>Only for require-(yields|returns|description|example|param|throws) rules.
implements_replaces_docs: Option<bool>Only for require-(yields|returns|description|example|param|throws) rules.
override_replaces_docs: Option<bool>Only for require-(yields|returns|description|example|param|throws) rules.
tag_name_preference: Option<BTreeMap<String, TagNamePreference>>Specifies allows custom tags for Jsdoc annotations.
Trait Implementations§
Source§impl Clone for JsDocPluginSettings
impl Clone for JsDocPluginSettings
Source§fn clone(&self) -> JsDocPluginSettings
fn clone(&self) -> JsDocPluginSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsDocPluginSettings
impl Debug for JsDocPluginSettings
Source§impl Default for JsDocPluginSettings
impl Default for JsDocPluginSettings
Source§fn default() -> JsDocPluginSettings
fn default() -> JsDocPluginSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsDocPluginSettingswhere
JsDocPluginSettings: Default,
impl<'de> Deserialize<'de> for JsDocPluginSettingswhere
JsDocPluginSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsDocPluginSettings
impl PartialEq for JsDocPluginSettings
Source§impl Serialize for JsDocPluginSettings
impl Serialize for JsDocPluginSettings
impl Eq for JsDocPluginSettings
impl StructuralPartialEq for JsDocPluginSettings
Auto Trait Implementations§
impl Freeze for JsDocPluginSettings
impl RefUnwindSafe for JsDocPluginSettings
impl Send for JsDocPluginSettings
impl Sync for JsDocPluginSettings
impl Unpin for JsDocPluginSettings
impl UnsafeUnpin for JsDocPluginSettings
impl UnwindSafe for JsDocPluginSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.