Skip to content

Commit

Permalink
chore: Remove unused ESLint related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantiner committed Apr 17, 2024
1 parent 46c41b7 commit 47913fe
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 886 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.{js,jsx,cjs,ts,tsx}": ["npx prettier --write", "npx eslint"],
"*.{css,scss}": ["npx prettier --write", "npx stylelint"],
"*.{json,htm,html,yml,eslintrc,huskyrc,lintstagedrc,prettierrc,stylelintrc}": ["npx prettier --write"]
"*.{json,htm,html,yml,huskyrc,lintstagedrc,prettierrc,stylelintrc}": ["npx prettier --write"]
}
4 changes: 0 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
"files": ".prettierrc",
"options": { "parser": "json" }
},
{
"files": ".eslintrc",
"options": { "parser": "json" }
},
{
"files": ".huskyrc",
"options": { "parser": "json" }
Expand Down
10 changes: 0 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,6 @@ export default tsEslint.config(
"unicorn/filename-case": ["off"]
}
},
{
files: [".eslintrc*.cjs", "**/.eslintrc*.cjs"],
rules: {
"n/no-unpublished-require": ["off"],
"unicorn/prefer-module": ["off"],
"unicorn/filename-case": ["off"],
"no-undef": ["off"],
"no-restricted-syntax": ["off"]
}
},
{
...nodePlugin.configs["flat/recommended"],
files: [
Expand Down
Loading

0 comments on commit 47913fe

Please sign in to comment.