Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiandupont committed Jun 23, 2021
1 parent acaaf6d commit 55aadd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/requirePrimaryKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const requirePrimaryKey = {
options[0] && options[0].ignorePattern
? new RegExp(options[0].ignorePattern)
: null;
const validator = ({ tags, columns, name: tableName }) => {
const validator = ({ columns, name: tableName }) => {
const idColumns = columns.filter((c) => c.isPrimary);

if (idColumns.length < 1) {
Expand Down

0 comments on commit 55aadd1

Please sign in to comment.