Skip to content

Commit

Permalink
also format .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
eh-am committed Sep 23, 2021
1 parent 95a89a4 commit 5bc6eec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"parser": "babel-eslint",
"plugins": ["prettier"],
"extends": ["airbnb", "prettier", "prettier/react", "plugin:cypress/recommended"],
"extends": [
"airbnb",
"prettier",
"prettier/react",
"plugin:cypress/recommended"
],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-unused-vars": ["warn"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix"
],
"*.{js,jsx,ts,tsx,json,yml,yaml}": "prettier --write"
"*.{js,jsx,ts,tsx,json,yml,yaml,eslintrc,prettierrc}": "prettier --write"
}
}

0 comments on commit 5bc6eec

Please sign in to comment.