eslint-plugin-no-implicit-any-function-args 1.4.3 → 1.4.5

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.
Files changed (2) hide show
  1. package/README.md +18 -25
  2. package/package.json +11 -7
package/README.md CHANGED
@@ -10,31 +10,24 @@ npm install --save-dev eslint-plugin-no-implicit-any-function-args
10
10
 
11
11
  ## Setup
12
12
 
13
- ```json
14
- {
15
- "plugins": [
16
- "no-implicit-any-function-args",
17
- ],
18
- "rules": {
19
- "no-implicit-any-function-args/no-implicit-any-function-args": "error",
20
- },
21
- }
22
- ```
13
+ ```js
14
+ const tseslint = require('typescript-eslint');
15
+
16
+ const noImplicitAnyFunctionArgs = require('eslint-plugin-no-implicit-any-function-args');
17
+
18
+ module.exports = tseslint.config(
19
+ // Javascript
20
+ {
21
+ files: ['**/*.js'],
22
+
23
+ plugins: {
24
+ 'no-implicit-any-function-args': noImplicitAnyFunctionArgs,
25
+ },
23
26
 
24
- or
25
-
26
- ```json
27
- {
28
- "plugins": [
29
- "no-implicit-any-function-args",
30
- ],
31
- "rules": {
32
- "no-implicit-any-function-args/no-implicit-any-function-args": [
33
- "error",
34
- {
35
- ignorePattern: '^_'
36
- }
37
- ]
27
+ rules: {
28
+ 'no-implicit-any-function-args/no-implicit-any-function-args': ['error', {
29
+ ignorePattern: '^_',
30
+ }],
31
+ },
38
32
  },
39
- }
40
33
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-no-implicit-any-function-args",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,23 +15,27 @@
15
15
  "keywords": [],
16
16
  "author": "",
17
17
  "license": "ISC",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/fast-facts/eslint-plugin-no-implicit-any-function-args.git"
21
+ },
18
22
  "dependencies": {
19
- "@typescript-eslint/utils": "^8.8.0"
23
+ "@typescript-eslint/utils": "^8.9.0"
20
24
  },
21
25
  "peerDependencies": {
22
26
  "typescript": "^4.2.4 || ^5.0.0"
23
27
  },
24
28
  "devDependencies": {
25
29
  "@types/jest": "^29.5.13",
26
- "@types/node": "^22.7.4",
27
- "@typescript-eslint/rule-tester": "^8.8.0",
30
+ "@types/node": "^22.7.5",
31
+ "@typescript-eslint/rule-tester": "^8.9.0",
28
32
  "copyfiles": "^2.4.1",
29
- "eslint": "^9.11.1",
30
- "eslint-config-final": "^1.4.3",
33
+ "eslint": "^9.12.0",
34
+ "eslint-config-final": "^1.4.7",
31
35
  "jest": "^29.7.0",
32
36
  "ts-api-utils": "^1.3.0",
33
37
  "ts-jest": "^29.2.5",
34
38
  "tslib": "^2.7.0",
35
- "typescript-eslint": "^8.8.0"
39
+ "typescript-eslint": "^8.9.0"
36
40
  }
37
41
  }