Phase 0 - basic shell data shapes, simple test suite, workspace configuration
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import js from "@eslint/js";
|
||||
import prettier from "eslint-config-prettier";
|
||||
import functional from "eslint-plugin-functional";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ["src/core/**/*.ts"],
|
||||
...functional.configs.recommended,
|
||||
rules: {
|
||||
"functional/no-mixed-types": "off",
|
||||
"@typescript-eslint/no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
patterns: [
|
||||
{
|
||||
group: ["../shell/**", "@shell/**"],
|
||||
message: "Core modules cannot import from shell.",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
prettier,
|
||||
];
|
||||
Reference in New Issue
Block a user