Skip to content

Commit

Permalink
fix reviews from #62
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Jan 17, 2024
1 parent 9a30d24 commit cc91704
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 27 deletions.
13 changes: 1 addition & 12 deletions .eslintrc.js
@@ -1,7 +1,7 @@
module.exports = {
env: {
browser: true,
es2021: true,
es2024: true,
},
settings: {
react: {
Expand All @@ -14,17 +14,6 @@ module.exports = {
"plugin:react/recommended",
"prettier",
],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
Expand Down
3 changes: 0 additions & 3 deletions .prettierignore
@@ -1,3 +0,0 @@
# Ignore artifacts:
build
coverage
24 changes: 12 additions & 12 deletions package.json
Expand Up @@ -37,19 +37,19 @@
"@storybook/test": "7.6.2",
"@storybook/test-runner": "0.16.0",
"@storybook/testing-library": "0.2.2",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/eslint-plugin": "6.19.0",
"concurrently": "8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard-with-typescript": "43.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"http-server": "14.1.1",
"prettier": "3.1.1",
"typescript": "^5.3.3",
"typescript": "5.3.3",
"vite": "4.5.1",
"wait-on": "7.2.0"
},
Expand All @@ -62,10 +62,10 @@
"build-storybook": "storybook build",
"tokens-to-css": "npx style-dictionary build --config ./style-dictionary.json",
"prepare": "husky install",
"lint": "eslint --ext .ts,.tsx,.js,.jsx \"src/**/*.{ts,js,tsx,jsx}\""
"lint": "eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\""
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"*.{ts,tsx}": [
"npm run lint --fix",
"prettier --write"
],
Expand Down

0 comments on commit cc91704

Please sign in to comment.