No console eslint (#2251)

* chore: add new eslint config file for ci

* add test console log

* merge the lint steps

* Fix according to PR

---------

Co-authored-by: Charles Bochet <[email protected]>
This commit is contained in:
Alfred Louis
2023-11-06 23:50:06 +01:00
committed by GitHub
co-authored by Charles Bochet
parent daa6d2ca01
commit 183d6a1d1a
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ jobs:
- name: Front / Install Dependencies
run: cd front && yarn
- name: Front / Run linter
run: cd front && yarn lint
run: cd front && yarn lint --config .eslintrc-ci.js
front-jest:
needs: front-yarn-install
runs-on: ubuntu-latest
+16
View File
@@ -0,0 +1,16 @@
module.exports = {
overrides: [
{
files: ['*.stories.tsx', '*.test.ts'],
rules: {
'no-console': 'off',
}
},
],
extends: [
'./.eslintrc.js'
],
rules: {
'no-console': 'error',
}
};