@@ -1 +1,3 @@
**/*{.,-}min.js
+# autogenerated file
+app/frontend/apps/mobile/graphql/api.ts
@@ -76,6 +76,8 @@
- echo "Stylelint check..."
- yarn install
- yarn lint:css
+ - echo "ESLint check..."
+ - yarn lint
- echo "Rubocop check..."
- echo -e "\\e[0Ksection_start:`date +%s`:bundle_install[collapsed=true]\\r\\e[0Kbundle install"
- bundle config set --local frozen 'true'
@@ -26,6 +26,10 @@ PreCommit:
flags: ['generate', 'translation_catalog', '--check']
Stylelint:
enabled: true
+ EsLint:
+ required_executable: 'yarn'
+ enabled: true
+ command: ['yarn', 'lint']
PostCheckout:
ALL:
@@ -20,9 +20,11 @@ rm -rf .rubocop
rm .stylelintrc.json
rm .eslintignore
rm .eslintrc
+rm .eslintrc.js
rm .rubocop.yml
rm coffeelint.json
rm .overcommit.yml
+rm .prettierrc.json
# misc
rm .codeclimate.yml