eslint-plugin-prisma-nestjs-graphql
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -115,3 +115,3 @@ "use strict"; | ||
const newImports = [...entityImports, ...findManyImports]; | ||
const missingImports = newImports.filter(ni => !existingImports.includes(ni)); | ||
const missingImports = Array.from(new Set(newImports.filter(ni => !existingImports.includes(ni)))); | ||
const importFixer = fixer.insertTextAfter(importNode.specifiers.pop(), missingImports.map(i => '\n,' + i).join('')); | ||
@@ -118,0 +118,0 @@ const txt = `\n\n\n // FIELDRESOLVERS \n` + |
{ | ||
"name": "eslint-plugin-prisma-nestjs-graphql", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "eslint plugin for prisma & nestjs & graphql setups to not forget resolvers etc.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36732