eslint-config-arklint 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  var jsdocPlugin = require("eslint-plugin-jsdoc");
2
- module.exports = [jsdocPlugin.configs["flat/recommended"], {
2
+ module.exports = [jsdocPlugin.configs["flat/recommended-typescript-flavor"], {
3
3
  plugins: {
4
4
  jsdoc: jsdocPlugin
5
5
  },
package/cjs/index.cjs CHANGED
@@ -100,7 +100,9 @@ module.exports = [{
100
100
  allowTaggedTemplates: true
101
101
  }],
102
102
  "no-unused-labels": "warn",
103
- "no-unused-vars": "warn",
103
+ "no-unused-vars": ["warn", {
104
+ caughtErrorsIgnorePattern: "^_"
105
+ }],
104
106
  "no-use-before-define": ["warn", {
105
107
  functions: false,
106
108
  classes: false,
@@ -2,7 +2,7 @@ import jsdocPlugin from "eslint-plugin-jsdoc";
2
2
 
3
3
 
4
4
  export default [
5
- jsdocPlugin.configs["flat/recommended"],
5
+ jsdocPlugin.configs["flat/recommended-typescript-flavor"],
6
6
  {
7
7
  plugins: {
8
8
  jsdoc: jsdocPlugin
package/index.mjs CHANGED
@@ -160,7 +160,9 @@ export default [
160
160
  allowTaggedTemplates: true
161
161
  }],
162
162
  "no-unused-labels": "warn",
163
- "no-unused-vars": "warn",
163
+ "no-unused-vars": ["warn", {
164
+ caughtErrorsIgnorePattern: "^_"
165
+ }],
164
166
  "no-use-before-define": ["warn", {
165
167
  functions: false,
166
168
  classes: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-arklint",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "author": "Arkellys",
5
5
  "license": "MIT",
6
6
  "type": "module",