mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 04:23:57 +03:00
31f3950439
* 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>
11 lines
356 B
JavaScript
11 lines
356 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const noHardcodedColors = require('./rules/no-hardcoded-colors');
|
|
const cssAlphabetically = require('./rules/sort-css-properties-alphabetically');
|
|
|
|
module.exports = {
|
|
rules: {
|
|
'no-hardcoded-colors': noHardcodedColors,
|
|
'sort-css-properties-alphabetically': cssAlphabetically,
|
|
},
|
|
};
|