brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys ( #1777 )
...
- add eslint rule
2023-09-30 08:25:34 +02:00
gitstart-twenty
ba86be2c5b
Remove the {...props} pattern and props coupling, and create an eslint rule for that ( #1733 )
...
* Remove the {...props} pattern and props coupling, and create an eslint rule for that
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Add another test to the new rule
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-26 11:05:33 +02:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty ( #1640 )
...
* Fixed color rule
* Fixed naming
* Fix effect component rule
* Deactivated broken rules
* Fixed lint
* Complete eslint-plugin-twenty work
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts ( #1618 )
...
* migrate rules
* fix
* final
* final
2023-09-17 08:13:05 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
Lucas Bordeau
84a27b148f
Feat/sidecar components ( #1578 )
...
* Added a new eslint plugin in TypeScript for Effect components
* Fixed edge cases
* Fixed lint
* Fix eslint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
gitstart-twenty
878302dd31
[ESLint rule]: recoil value and setter should be named after their at… ( #1402 )
...
* Override unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-05 10:34:11 +02:00
gitstart-twenty
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons ( #1370 )
...
Fix the imports
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>
2023-08-29 13:40:17 +02:00
Thaïs
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation ( #1301 )
...
* feat: create view from selected filters and sorts
Closes #1292
* refactor: use selector to obtain table filters where query option
* refactor: activate exhaustive deps eslint rule for useRecoilCallback
* feat: switch to newly created view on view creation
Closes #1297
* refactor: code review
- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
Weiko
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
Charles Bochet
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
Charles Bochet
66585fce9a
Refactor Checkbox ( #932 )
...
* Refactor Checkbox
* Complete note completion
* Fixes
* Fix login
2023-07-25 21:58:57 -07:00
Lucas Bordeau
b52745533a
Added unused imports and vars and fixed lint ( #929 )
2023-07-25 17:18:25 -07:00
Morning1139Angel
695ddd7a92
Func style allowing arrow ( #461 )
...
* eslint func-style rule added to server
* eslint func-style rule added to front-end
2023-06-29 11:19:03 -07:00
Félix Malfait
31f3950439
Add a custom rule to prevent colors from being hardcoded outside of theme ( #288 )
...
* Add a custom rule to prevent colors from being hardcoded in ESLint
* Refactor colors
* Create packages folder and fix colors
* Remove external dependency for css alphabetical order linting
* Fix install with yarn
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00
Félix Malfait
eb8fc50ff1
Add rule to order css in styled components alphabetically ( #284 )
...
* Add plugin
* Run plugin
2023-06-14 07:59:16 +02:00
Charles Bochet
7b858fd7c9
Reorganize frontend and install Craco to alias modules ( #190 )
2023-06-04 11:23:09 +02:00
Charles Bochet
ae7bad65ca
Setup GraphQL Code Generator ( #74 )
...
* chore: add types of schema
* Ease codegen use on FE
* chore: ignore prettier in generated files
* lint: generated files
* feature: strongly type filter of query
* chore: ignore generated files in prettier
* chore: eslint ignore generated files
---------
Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:25:30 +02:00
Charles Bochet
b8d089395f
Add linter on CI
2023-04-20 11:51:04 +02:00
Charles Bochet
0f2d8a556e
Add Navbar component, emotion for css and storybook
2022-12-04 22:59:30 +01:00
Charles Bochet
f685be3d22
Migrate to Typescript, add prettier and add linter
2022-12-02 12:06:22 +01:00