add common config

This commit is contained in:
Alexander Navarro 2023-06-25 13:57:27 -04:00
parent 79c1ece8c6
commit 9a4cf1eb13
8 changed files with 1531 additions and 122 deletions

25
.eslintrc.cjs Normal file
View file

@ -0,0 +1,25 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["standard-with-typescript", "plugin:react/recommended", "prettier"],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: ["./tsconfig.json"],
},
plugins: ["react"],
rules: {},
};