eslint-plugin-jest-dom
Advanced tools
Comparing version 5.4.0 to 5.5.0
{ | ||
"name": "eslint-plugin-jest-dom", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with jest-dom", | ||
"main": "dist/index.js", | ||
"keywords": [ | ||
@@ -18,4 +17,6 @@ "eslint", | ||
], | ||
"author": "Ben Monro", | ||
"license": "MIT", | ||
"homepage": "https://github.com/testing-library/eslint-plugin-jest-dom#readme", | ||
"bugs": { | ||
"url": "https://github.com/testing-library/eslint-plugin-jest-dom/issues" | ||
}, | ||
"repository": { | ||
@@ -25,8 +26,9 @@ "type": "git", | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/testing-library/eslint-plugin-jest-dom/issues" | ||
}, | ||
"homepage": "https://github.com/testing-library/eslint-plugin-jest-dom#readme", | ||
"license": "MIT", | ||
"author": "Ben Monro", | ||
"main": "dist/index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"index.d.ts" | ||
], | ||
@@ -45,2 +47,49 @@ "scripts": { | ||
}, | ||
"eslintConfig": { | ||
"extends": "./node_modules/kcd-scripts/eslint.js", | ||
"rules": { | ||
"consistent-return": "off", | ||
"max-lines-per-function": "off", | ||
"testing-library/no-dom-import": "off" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.ts" | ||
], | ||
"rules": { | ||
"@typescript-eslint/await-thenable": "off", | ||
"@typescript-eslint/dot-notation": "off", | ||
"@typescript-eslint/no-base-to-string": "off", | ||
"@typescript-eslint/no-floating-promises": "off", | ||
"@typescript-eslint/no-implied-eval": "off", | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/no-throw-literal": "off", | ||
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off", | ||
"@typescript-eslint/no-unnecessary-condition": "off", | ||
"@typescript-eslint/no-unnecessary-qualifier": "off", | ||
"@typescript-eslint/no-unnecessary-type-assertion": "off", | ||
"@typescript-eslint/no-unsafe-argument": "off", | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"@typescript-eslint/no-unsafe-return": "off", | ||
"@typescript-eslint/prefer-includes": "off", | ||
"@typescript-eslint/prefer-nullish-coalescing": "off", | ||
"@typescript-eslint/prefer-reduce-type-parameter": "off", | ||
"@typescript-eslint/prefer-string-starts-ends-with": "off", | ||
"@typescript-eslint/restrict-plus-operands": "off", | ||
"@typescript-eslint/return-await": "off", | ||
"@typescript-eslint/switch-exhaustiveness-check": "off", | ||
"@typescript-eslint/unbound-method": "off" | ||
} | ||
} | ||
] | ||
}, | ||
"eslintIgnore": [ | ||
"node_modules", | ||
"coverage", | ||
"dist", | ||
"eslint-remote-tester-results" | ||
], | ||
"dependencies": { | ||
@@ -70,16 +119,2 @@ "@babel/runtime": "^7.16.3", | ||
}, | ||
"eslintConfig": { | ||
"extends": "./node_modules/kcd-scripts/eslint.js", | ||
"rules": { | ||
"consistent-return": "off", | ||
"max-lines-per-function": "off", | ||
"testing-library/no-dom-import": "off" | ||
} | ||
}, | ||
"eslintIgnore": [ | ||
"node_modules", | ||
"coverage", | ||
"dist", | ||
"eslint-remote-tester-results" | ||
], | ||
"engines": { | ||
@@ -86,0 +121,0 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0", |
87098
20
1395