mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 20:27:55 +00:00
* Add an ESLint rule to prevent the usage of useRef other than for HTML elements Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Bump eslint version and rewrite rule * Fix --------- Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com>
12 lines
605 B
TypeScript
12 lines
605 B
TypeScript
module.exports = {
|
|
rules: {
|
|
"effect-components": require("./src/rules/effect-components"),
|
|
"no-hardcoded-colors": require("./src/rules/no-hardcoded-colors"),
|
|
"matching-state-variable": require("./src/rules/matching-state-variable"),
|
|
"sort-css-properties-alphabetically": require("./src/rules/sort-css-properties-alphabetically"),
|
|
"styled-components-prefixed-with-styled": require("./src/rules/styled-components-prefixed-with-styled"),
|
|
"component-props-naming": require("./src/rules/component-props-naming"),
|
|
"no-state-useref": require("./src/rules/no-state-useref"),
|
|
},
|
|
};
|