Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyash878 committed Jan 5, 2025
1 parent 869dad5 commit 8bf66f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default [
'**/package.json',
'**/package-lock.json',
'**/tsconfig.json',
'docs/**/*'
'docs/**/*',
],
},
...compat.extends(
Expand Down
4 changes: 2 additions & 2 deletions scripts/githooks/check-localstorage-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ if (filesWithLocalStorage.length > 0) {

console.info(
'\x1b[34m%s\x1b[0m',
'\nInfo: Consider using custom hook functions.'
'\nInfo: Consider using custom hook functions.',
);
console.info(
'Please use the getItem, setItem, and removeItem functions provided by the custom hook useLocalStorage.\n'
'Please use the getItem, setItem, and removeItem functions provided by the custom hook useLocalStorage.\n',
);

process.exit(1);
Expand Down
1 change: 0 additions & 1 deletion scripts/githooks/update-toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const markdownFiles = fs
markdownFiles.forEach((file) => {
const command = `markdown-toc -i "${file}" --bullets "-"`;
execSync(command, { stdio: 'inherit' });

});

console.log('Table of contents updated successfully.');

0 comments on commit 8bf66f3

Please sign in to comment.