Skip to content

Commit

Permalink
fix: update eslint command
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyod committed Nov 22, 2023
1 parent d00ce9d commit d9019dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"jsSrcsDir": "js"
},
"scripts": {
"format:js": "prettier --write --list-different './{js,components}/**/*.{js,ts,tsx}'",
"format:js": "prettier --write --list-different './{js,src}/**/*.{js,ts,tsx}'",
"format:ios": "find ios/ -iname '*.h' -o -iname '*.m' -o -iname '*.cpp' -o -iname '*.mm' | xargs clang-format -i",
"format": "yarn format:js && yarn format:ios",
"lint": "eslint --max-warnings=0 --ext '.js,.ts,.tsx' --fix js components && prettier --max-warnings=0 --check './{js,components}/**/*.{js,ts,tsx}'",
"lint": "eslint --max-warnings=0 --ext '.js,.ts,.tsx' --fix js src && prettier --check './{js,src}/**/*.{js,ts,tsx}'",
"prepare": "bob build"
},
"main": "lib/commonjs/index.js",
Expand Down

0 comments on commit d9019dd

Please sign in to comment.