Skip to content

Commit

Permalink
chore(eslint): fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 1, 2023
1 parent 0649a73 commit 9e01788
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dist
public
node_modules
*.esm.js
drupal
/drupal
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"node": true,
"jest": true
},
"globals": {
"Drupal": true,
"drupalSettings": true,
"jQuery": true
},
"rules": {
"react/prop-types": 0,
"prettier/prettier": ["error"],
Expand Down
2 changes: 1 addition & 1 deletion examples/example-auth/types/next-auth.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DefaultSession, Session } from "next-auth"
import { DefaultSession } from "next-auth"

declare module "next-auth" {
interface Session {
Expand Down
2 changes: 1 addition & 1 deletion examples/example-custom-cache/lib/drupal.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Experiment_DrupalClient, DataCache } from "next-drupal"
import { DataCache, DrupalClient } from "next-drupal"
import Redis from "ioredis"

const redis = new Redis(process.env.REDIS_URL)
Expand Down
2 changes: 1 addition & 1 deletion packages/next-drupal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.modern.js",
"types": "dist/types.d.ts",
"types": "dist/index.d.ts",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion www/pages/learn/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getAllMdxNodes } from "next-mdx/server"
import Link from "next/link"

import { Tutorial } from "types"
Expand Down

0 comments on commit 9e01788

Please sign in to comment.