From 758ada8d6efe0812e8f04694d9672b5efd825554 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sun, 1 May 2022 18:49:18 +0800 Subject: [PATCH] Organize repo, update ESLint config Make the repo structure consistent. Also remove the extra ESLint config. --- {test => src/__tests__}/index.test.ts | 2 +- tsconfig.eslint.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {test => src/__tests__}/index.test.ts (91%) diff --git a/test/index.test.ts b/src/__tests__/index.test.ts similarity index 91% rename from test/index.test.ts rename to src/__tests__/index.test.ts index 0f43065..7894e02 100644 --- a/test/index.test.ts +++ b/src/__tests__/index.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { generate, getDefaultCards } from '../src'; +import { generate, getDefaultCards } from '../index'; describe('oblique-strategies-core', () => { describe('generate', () => { diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 5c9c775..5d01139 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,6 +1,6 @@ { "exclude": ["node_modules"], - "include": ["src", "types", "test"], + "include": ["src", "types"], "compilerOptions": { "module": "ESNext", "lib": ["ESNext"],