diff --git a/.eslintrc.json b/.eslintrc.json index 9df60668..e0b299e9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,8 @@ { "env": { "browser": true, - "es2021": true + "es2021": true, + "node": true }, "extends": [ "eslint:recommended", diff --git a/babel.config.js b/babel.config.js index 626652cf..0e290489 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,6 @@ module.exports = { presets: [ - '@babel/preset-react', + ['@babel/preset-react', { runtime: 'automatic' }], '@babel/preset-typescript', '@babel/preset-env', ], diff --git a/package.json b/package.json index 0da16e8a..0c446c6b 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "latest", + "postcss": "^8.4.16", "postcss-import": "^14.1.0", "postcss-nested": "^5.0.6", "prettier": "^2.7.1", diff --git a/tsconfig.json b/tsconfig.json index e3121ad9..dda98e5d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ "noImplicitReturns": false, "noFallthroughCasesInSwitch": true, "allowSyntheticDefaultImports": true, - "esModuleInterop": true + "esModuleInterop": true, + "isolatedModules": true }, "include": ["packages"], "exclude": ["**/node_modules"] diff --git a/yarn.lock b/yarn.lock index 9fc5db2a..7fe7cba2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7445,6 +7445,7 @@ __metadata: eslint-config-prettier: ^8.5.0 eslint-plugin-prettier: ^4.2.1 eslint-plugin-react: latest + postcss: ^8.4.16 postcss-import: ^14.1.0 postcss-nested: ^5.0.6 prettier: ^2.7.1