diff --git a/.prettierignore b/.prettierignore index 7bed933..8da9602 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,5 +10,11 @@ node_modules/ types/ **/CHANGELOG.md +.eslintignore .env.* .env +.gitignore +.gitkeep +.prettierignore +yarn.lock + diff --git a/lint-staged.config.js b/lint-staged.config.js index 4ec5694..e484c9e 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -5,12 +5,12 @@ module.exports = { /** - * Formatting and linting commands for all files. + * Formatting command rules. */ - [`*.{js,json,md,ts}`]: ['yarn fix:format', 'git add -A'], + '*': ['yarn fix:format', 'git add -A'], /** - * Formatting and linting commands for JavaScript and TypeScript files. + * Linting command rules. */ [`*.{js,md,ts}`]: ['yarn fix:style', 'git add -A'] }