-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from aragon/chore/update-linter
Chore: Update linter & formatter setup
- Loading branch information
Showing
122 changed files
with
2,128 additions
and
2,754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bun lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.