init
This commit is contained in:
30
.eslintrc.json
Normal file
30
.eslintrc.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"root": true,
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"es2017": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:import/recommended",
|
||||
"plugin:import/typescript",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended",
|
||||
"next"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.json",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"ignorePatterns": [".out/*"],
|
||||
"plugins": ["@typescript-eslint", "import", "prettier"],
|
||||
"rules": {
|
||||
"quotes": ["error", "double", { "avoidEscape": true }],
|
||||
"prettier/prettier": ["error", {"endOfLine": "auto"}],
|
||||
"require-jsdoc": "off",
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"react/no-unescaped-entities": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user