The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
No console eslint (#2251)
Alfred Louis183d6a1d1a16
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex c8b2e8de3fb..496b8e4343b 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -145,7 +145,7 @@ jobs:- name: Front / Install Dependenciesrun: cd front && yarn- name: Front / Run linter- run: cd front && yarn lint+ run: cd front && yarn lint --config .eslintrc-ci.jsfront-jest:needs: front-yarn-installruns-on: ubuntu-latestdiff --git a/front/.eslintrc-ci.js b/front/.eslintrc-ci.jsnew file mode 100644index 00000000000..53a455b90f8--- /dev/null+++ b/front/.eslintrc-ci.js@@ -0,0 +1,16 @@+module.exports = {+ overrides: [+ {+ files: ['*.stories.tsx', '*.test.ts'],+ rules: {+ 'no-console': 'off',+ }+ },+ ],+ extends: [+ './.eslintrc.js'+ ],+ rules: {+ 'no-console': 'error',+ }+};