fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts (#1618)
* migrate rules * fix * final * final
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user