Skip to content

Commit

Permalink
vendor: config eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
usharerose committed Jul 20, 2024
1 parent 9f7f893 commit 5b9c4ff
Show file tree
Hide file tree
Showing 3 changed files with 3,560 additions and 347 deletions.
47 changes: 47 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"env": {
"browser": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"no-console": "warn",
"no-debugger": "warn",
"semi": [
"error",
"always"
],
"quotes": [
"error",
"single"
],
"comma-dangle": [
"error",
"never"
]
},
"settings": {
"react": {
"version": "detect"
}
}
}
Loading

0 comments on commit 5b9c4ff

Please sign in to comment.