Skip to content

Commit

Permalink
Update tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Mar 1, 2024
1 parent 1376c4f commit a3324f3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"root": true,
"extends": ["xmtp-web"],
"parserOptions": {
"project": "./tsconfig.eslint.json"
"project": "./tsconfig.json"
},
"rules": {
"no-plusplus": "off",
Expand Down
5 changes: 4 additions & 1 deletion postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

module.exports = config;
4 changes: 0 additions & 4 deletions tsconfig.eslint.json

This file was deleted.

12 changes: 10 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"incremental": true,
"skipLibCheck": true,
"allowJs": true,
"strict": true,
Expand All @@ -24,6 +23,15 @@
"jsx": "react-jsx",
"types": ["vite/client", "vitest", "vitest/globals"]
},
"include": ["src", "index.html", "cypress/*", "cypress.config.ts"],
"include": [
"src",
"index.html",
"cypress",
"cypress.config.ts",
"postcss.config.cjs",
"tailwind.config.ts",
"vite.config.ts",
"vitest.config.ts"
],
"references": [{ "path": "./tsconfig.node.json" }]
}

0 comments on commit a3324f3

Please sign in to comment.