You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
698 B

import jsdoc from "eslint-plugin-jsdoc";
import eslintjs from "@eslint/js";
const {configs: eslintConfigs} = eslintjs;
export default [
jsdoc.configs["flat/recommended"],
eslintConfigs["recommended"],
{
languageOptions: {
// if we ever use more globals than this, pull in the `globals` package
globals: {
console: false
}
},
rules: {
"no-var": "error",
"jsdoc/require-param-description": "off",
"jsdoc/require-returns-description": "off",
"jsdoc/tag-lines": ["error", "any", { startLines: 1 }],
"no-unused-vars": ["error", {
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_"
}]
},
},
];