purge eslint/prettier remnants

This commit is contained in:
feederbox826 2026-05-03 22:52:52 -04:00
parent a70cf30eb2
commit 5ae03b10eb
No known key found for this signature in database
GPG key ID: 82F297A12EBB8A57
6 changed files with 7 additions and 89 deletions

5
.gitignore vendored
View file

@ -63,7 +63,4 @@ node_modules
/phasher
dist
.DS_Store
/.local*
.eslintcache
.stylelintcache
/.local*

View file

@ -1,2 +1 @@
BROWSER=none
ESLINT_NO_DEV_ERRORS=true

View file

@ -1,79 +0,0 @@
{
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "jsx-a11y"],
"extends": [
"airbnb-typescript",
"plugin:import/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"airbnb/hooks",
"prettier"
],
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"node_modules/",
"src/core/generated-graphql.ts",
"src/pluginApi.d.ts"
],
"rules": {
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": ["PascalCase"],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/no-use-before-define": [
"error",
{ "functions": false, "classes": false }
],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"import/named": "off",
"import/namespace": "off",
"import/no-unresolved": "off",
"lines-between-class-members": "off",
"no-nested-ternary": "off",
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
}
],
"react/display-name": "off",
"react/prop-types": "off",
"react/style-prop-object": ["error", { "allow": ["FormattedNumber"] }],
"spaced-comment": ["error", "always", { "markers": ["/"] }]
}
}

5
ui/v2.5/.gitignore vendored
View file

@ -16,4 +16,7 @@ src/core/generated-graphql.ts
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production.local
.eslintcache
.stylelintcache

View file

@ -29,7 +29,7 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d
### `npm run format`
Formats the whitespace of all typescript and scss code with prettier, to ease editing and ensure a common code style.
Formats the whitespace of all typescript and scss code with biome, to ease editing and ensure a common code style.
Should ideally be run before all frontend PRs.
@ -39,7 +39,7 @@ Should ideally be run before all frontend PRs.
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

View file

@ -15,8 +15,6 @@
"lint:css": "stylelint --cache \"src/**/*.scss\"",
"lint:js": "biome check src/",
"check": "tsc --noEmit",
"eslint": "eslint",
"prettier": "prettier",
"stylelint": "stylelint",
"format": "biome format --write . ../../graphql",
"format-check": "biome format --check . ../../graphql",