quine-linux/installer/anaconda-webui/vendor/.eslintrc.json
Philip Peterson 255042fe8d Vendor anaconda-webui and build it into the installer image
Replaces installing a patched anaconda-webui RPM from the forge's package
registry: installer/anaconda-webui/vendor/ is upstream release 86 verbatim
(see its PROVENANCE.md), and installer/Containerfile builds it with
upstream's own `make install` in a native-platform stage, then copies the
result over stock Fedora anaconda-webui. The produced file set matches
Fedora's anaconda-webui-86-1.fc46 exactly. Edits to the installer UI now
happen in vendor/ and ship on the next `task build-installer-iso`, with no
RPM, registry or CI in between.

Also follows bootc-image-builder's rename of --bootc-installer-payload-ref
to --installer-payload-ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 05:56:26 -08:00

64 lines
2.3 KiB
JSON

{
"root": true,
"env": {
"browser": true,
"es2022": true
},
"extends": ["eslint:recommended", "standard", "standard-jsx", "standard-react"],
"parserOptions": {
"ecmaVersion": 2022
},
"plugins": ["react", "react-hooks", "simple-import-sort", "sort-destructure-keys"],
"rules": {
"comma-dangle": "off",
"indent": ["error", 4,
{
"ObjectExpression": "first",
"CallExpression": {"arguments": "first"},
"MemberExpression": 2,
"ignoredNodes": [ "JSXAttribute" ]
}],
"jsx-quotes": ["error", "prefer-double"],
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 2 }],
"no-console": "error",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
"no-var": "error",
"prefer-promise-reject-errors": ["error", { "allowEmptyReject": true }],
"quotes": ["error", "double" ],
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
"sort-destructure-keys/sort-destructure-keys": 2,
"sort-keys": ["error", "asc", {"caseSensitive": true, "natural": true, "minKeys": 2}],
"simple-import-sort/imports": ["error", { "groups": [
["^cockpit$"],
["^"],
["^react", "^@patternfly"],
["/apis"],
["/actions", "/reducer"],
["/helpers"],
["/components.*js[x]$"],
["/contexts.*js[x]$"],
["/hooks.*js[x]$"],
["^cockpit-", "^os-release", "^dialogs"],
["^\\."],
["\\.scss"]
] }],
"import/extensions": ["error", "ignorePackages", {
"js": "always",
"jsx": "always"
}],
"import/no-useless-path-segments": "error",
"react/hook-use-state": ["error", { "allowDestructuredState": false }],
"react/jsx-closing-bracket-location": "off",
"react/jsx-indent": ["error", 4],
"react/prop-types": "off",
"react-hooks/exhaustive-deps": "error",
"react-hooks/rules-of-hooks": "error"
},
"globals": {
"require": false,
"module": false
}
}