add common config
This commit is contained in:
parent
79c1ece8c6
commit
9a4cf1eb13
8 changed files with 1531 additions and 122 deletions
25
.eslintrc.cjs
Normal file
25
.eslintrc.cjs
Normal 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: {},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue