mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-09 20:37:50 +00:00
27 lines
673 B
JavaScript
27 lines
673 B
JavaScript
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: {
|
|
"jsdoc/require-param-description": "off",
|
|
"jsdoc/require-returns-description": "off",
|
|
"jsdoc/tag-lines": ["error", "any", { startLines: 1 }],
|
|
"no-unused-vars": ["error", {
|
|
argsIgnorePattern: "^_",
|
|
caughtErrorsIgnorePattern: "^_"
|
|
}]
|
|
},
|
|
},
|
|
];
|