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>
This commit is contained in:
8
packages/twenty-cli/__tests__/config.ts
Normal file
8
packages/twenty-cli/__tests__/config.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { execShell } from '../src/config';
|
||||
|
||||
export {};
|
||||
|
||||
test('execShell runs a shell command', async () => {
|
||||
let response = await execShell('echo "hello"');
|
||||
expect(response).toEqual('hello\n');
|
||||
});
|
||||
Reference in New Issue
Block a user