fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts (#1618)

* migrate rules

* fix

* final

* final
This commit is contained in:
Anik Dhabal Babu
2023-09-17 20:43:05 +05:30
committed by GitHub
parent aaa63b3820
commit 84eaa45027
19 changed files with 732 additions and 405 deletions

View File

@ -10,7 +10,6 @@ module.exports = {
'unused-imports',
'simple-import-sort',
'prefer-arrow',
'twenty',
'twenty-ts',
],
extends: [
@ -61,11 +60,11 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'twenty/sort-css-properties-alphabetically': 'error',
'twenty/no-hardcoded-colors': 'error',
'twenty/styled-components-prefixed-with-styled': 'error',
'twenty/matching-state-variable': 'error',
'twenty-ts/effect-components': 'error',
'twenty-ts/no-hardcoded-colors': 'error',
'twenty-ts/matching-state-variable': 'error',
'twenty-ts/sort-css-properties-alphabetically': 'error',
'twenty-ts/styled-components-prefixed-with-styled': 'error',
'func-style':['error', 'declaration', { 'allowArrowFunctions': true }],
"@typescript-eslint/no-unused-vars": "off",
"no-unused-vars": "off",