Skip to content

Commit

Permalink
chore: configure linters
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed May 30, 2024
1 parent 39ffd8b commit cdba174
Show file tree
Hide file tree
Showing 6 changed files with 2,344 additions and 88 deletions.
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "richardpringle",
"env": {
"es2020": true,
"mocha": true
},
"rules": {
"no-unused-expressions": "off"
}
}
23 changes: 23 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Modules
node_modules

# dotenv environment variables file
.env
.env.test
env
.credentials
credentials
keys.json

# Logs
logs
*.log

# Optional npm cache directory
.npm

# builder cache
.cache

# workflows
.github
34 changes: 34 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"printWidth": 140,
"singleQuote": true,
"tabWidth": 4,
"useTabs": false,
"bracketSpacing": true,
"overrides": [
{
"files": "*.sol",
"options": {
"explicitTypes": "always"
}
},
{
"files": "*.js",
"options": {
"trailingComma": "all"
}
},
{
"files": "*.json",
"options": {
"tabWidth": 2,
"parser": "json-stringify"
}
},
{
"files": "*.yaml",
"options": {
"tabWidth": 2
}
}
]
}
Loading

0 comments on commit cdba174

Please sign in to comment.