Skip to content

Commit

Permalink
update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Apr 23, 2024
1 parent f342dd9 commit 70ae1db
Show file tree
Hide file tree
Showing 3 changed files with 530 additions and 336 deletions.
44 changes: 23 additions & 21 deletions .eslintrc.json → eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
const jsdoc = require('eslint-plugin-jsdoc');

module.exports = [
{
"parserOptions": {
// configuration included in plugin
//jsdoc.configs['flat/recommended'],
"languageOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": {jsdoc: jsdoc},
"rules": {
"no-trailing-spaces": 2,
"no-mixed-spaces-and-tabs": 2,
Expand Down Expand Up @@ -32,11 +38,8 @@
"keyword-spacing": ["error", { "before": true }],
"space-infix-ops": 2,
"prefer-arrow-callback": 2,
"valid-jsdoc": [2, {
"requireReturn": false,
"requireReturnType": false
}],
"require-jsdoc": 2,
"jsdoc/require-return": "off",
"jsdoc/require-returntype": "off",
"no-console": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
Expand All @@ -46,19 +49,18 @@
"valid-typeof": 2,
"no-var": 2
},
"overrides": [
{
"files": ["test-*.js", "*.spec.js", "test-helpers.js"],
"rules": {
"valid-jsdoc": 0,
"require-jsdoc": 0
}
},
{
"files": ["build-config/**/*.js"],
"rules": {
"no-console": 0
}
}
]
},
{
files: ["test-*.js", "*.spec.js", "test-helpers.js"],
rules: {
"valid-jsdoc": "off",
"require-jsdoc": "off"
}
},
{
files: ["build-config/**/*.js"],
rules: {
"no-console": "off"
}
}
];
Loading

0 comments on commit 70ae1db

Please sign in to comment.