TC
This commit is contained in:
@@ -5,7 +5,15 @@ import tseslint from "typescript-eslint";
|
||||
|
||||
export default tseslint.config(
|
||||
eslint.configs.recommended,
|
||||
tseslint.configs.recommended,
|
||||
tseslint.configs.recommendedTypeChecked,
|
||||
{
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
},
|
||||
);
|
||||
// /* eslint-env node */
|
||||
// module.exports = {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@/build-config",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.15.0",
|
||||
"eslint-plugin-react": "^7.37.2",
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
/* A minimal tsconfig so that we can run tsc on the build-config package
|
||||
itself */
|
||||
"compilerOptions": {
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"noEmit": true,
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["*.js", "eslintrc-base.mjs", "eslintrc-react.mjs", "eslintrc-vite.mjs"]
|
||||
"include": ["*.js", "eslintrc-*.mjs"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user