Skip to content

Commit

Permalink
Merge pull request #102 from aragon/chore/update-linter
Browse files Browse the repository at this point in the history
Chore: Update linter & formatter setup
  • Loading branch information
carlosgj94 authored Apr 9, 2024
2 parents 01a4432 + f3661d7 commit fcdee8c
Show file tree
Hide file tree
Showing 122 changed files with 2,128 additions and 2,754 deletions.
23 changes: 19 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: { "@typescript-eslint/no-explicit-any": "off" },
extends: ["next/core-web-vitals", "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
ecmaFeatures: {
jsx: true,
},
},
plugins: ["@typescript-eslint"],
rules: {
"react/jsx-boolean-value": ["warn", "always"],
"no-console": "warn",
"prefer-template": "warn",
"@typescript-eslint/consistent-type-imports": ["warn", { fixStyle: "inline-type-imports" }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["warn", { ignoreRestSiblings: true }],
"@typescript-eslint/prefer-nullish-coalescing": "warn",
},
root: true,
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
---
name: Bug report
about: Create a bug report to help us improve Aragonette
title: 'Bug: <add-text-here>'
title: "Bug: <add-text-here>"
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
A short summary of what the bug is.

**Steps to Reproduce**

- Config and flags:
- Steps to reproduce the behavior:

**Current behavior**


**Expected behavior**


**Environment:**
- Commit hash:
- Runtime (Docker, Node):
- Browser:

- Commit hash:
- Runtime (Docker, Node):
- Browser:

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bun lint-staged
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
}
}
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.next
.cache
.vscode
package-lock.json
public
node_modules
next-env.d.ts
next.config.ts
bun.lockb
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Aragonette is built to work seamlessly with Aragon OSx primitives, such as `IPro
Got ideas on how to make Aragonette even better? We're all ears! Whether it's a bug fix, a new feature, or a plugin that could benefit everyone, we welcome your contributions. Check out our [contributing guidelines](CONTRIBUTING.md) for more information on how to get involved.

### You can configure your repository to pull changes from this repository with:

```bash
git remote add upstream [email protected]:aragon/aragonette.git
git remote set-url --push upstream DISABLE
Expand Down
Loading

0 comments on commit fcdee8c

Please sign in to comment.