Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Update linter & formatter setup #102

Merged
merged 6 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading