mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-27 22:32:49 +03:00
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 <charles@twenty.com>
This commit is contained in:
parent
daa6d2ca01
commit
183d6a1d1a
2
.github/workflows/ci-front.yaml
vendored
2
.github/workflows/ci-front.yaml
vendored
@ -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
front/.eslintrc-ci.js
Normal file
16
front/.eslintrc-ci.js
Normal file
@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.stories.tsx', '*.test.ts'],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
}
|
||||
},
|
||||
],
|
||||
extends: [
|
||||
'./.eslintrc.js'
|
||||
],
|
||||
rules: {
|
||||
'no-console': 'error',
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user