Wrap the long doc comment lines in the project lint plugin
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* `project` — lint rules this repository holds its own source to, on top of
|
* `project` — lint rules this repository holds its own source to, on top of
|
||||||
* the Oxlint categories in `vite.config.ts`. Its rules of its own are `no-disable-comments` and `no-asset-imports`.
|
* the Oxlint categories in `vite.config.ts`. Its rules of its own are
|
||||||
|
* `no-disable-comments` and `no-asset-imports`.
|
||||||
*
|
*
|
||||||
* Loaded by `vite.config.ts` as an Oxlint `jsPlugins` entry.
|
* Loaded by `vite.config.ts` as an Oxlint `jsPlugins` entry.
|
||||||
*
|
*
|
||||||
@@ -161,8 +162,8 @@ const noAssetImportsRule: ProjectRule = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This repository's own rule list, spread by `vite.config.ts`: rules that
|
* This repository's own rule list, spread by `vite.config.ts`: rules that
|
||||||
* sit outside the Oxlint categories, plus the template's extras. Built-in Oxlint rule ids sit here too, so
|
* sit outside the Oxlint categories, plus the template's extras. Built-in
|
||||||
* `vite.config.ts` lists no rule by name.
|
* Oxlint rule ids sit here too, so `vite.config.ts` lists no rule by name.
|
||||||
*/
|
*/
|
||||||
const rules: DummyRuleMap = {
|
const rules: DummyRuleMap = {
|
||||||
// The explicit-types template's `camelcase` stand-in: no `_` inside a name
|
// The explicit-types template's `camelcase` stand-in: no `_` inside a name
|
||||||
|
|||||||
Reference in New Issue
Block a user