Skip to content

Commit e570e46

Browse files
committed
chore: lint ignore docs folder
1 parent 964e618 commit e570e46

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ coverage
77

88
test/
99
examples/
10+
docs/

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const defaultPath = 'authManagement';
1313

1414
export const optionsDefault: AuthenticationManagementServiceOptions = {
1515
service: '/users', // need exactly this for test suite
16-
// eslint-disable-next-line @typescript-eslint/no-empty-function
16+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function
1717
notifier: async (type: NotificationType, user: User, notifierOptions) => {},
1818
longTokenLen: 15, // token's length will be twice this
1919
shortTokenLen: 6,

tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
"declaration": true,
1111
"strictNullChecks": false,
1212
},
13-
"include": ["src/**/*"],
13+
"include": [
14+
"src/**/*"
15+
],
1416
"exclude": [
1517
"node_modules",
1618
"**/*.test.*",
1719
".eslintrc.js",
18-
"examples/**"
20+
"examples/**",
21+
"docs/**/*"
1922
]
2023
}

0 commit comments

Comments
 (0)