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:
co-authored by
Charles Bochet
parent
bf6fb0ba70
commit
31f3950439
@@ -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