mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 14:49:57 +00:00
In addition, there are also a number of changes in nodejs to the docstrings of existing methods because this PR adds a jsdoc linter.
29 lines
715 B
JavaScript
29 lines
715 B
JavaScript
/* eslint-disable @typescript-eslint/naming-convention */
|
|
// @ts-check
|
|
|
|
const eslint = require("@eslint/js");
|
|
const tseslint = require("typescript-eslint");
|
|
const eslintConfigPrettier = require("eslint-config-prettier");
|
|
const jsdoc = require("eslint-plugin-jsdoc");
|
|
|
|
module.exports = tseslint.config(
|
|
eslint.configs.recommended,
|
|
jsdoc.configs["flat/recommended"],
|
|
eslintConfigPrettier,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/naming-convention": "error",
|
|
"jsdoc/require-returns": "off",
|
|
"jsdoc/require-param": "off",
|
|
"jsdoc/require-jsdoc": [
|
|
"error",
|
|
{
|
|
publicOnly: true,
|
|
},
|
|
],
|
|
},
|
|
plugins: jsdoc,
|
|
},
|
|
);
|