mirror of
https://github.com/mozilla/fxa.git
synced 2025-12-13 20:36:41 +01:00
Because:
- we want to use the latest node LTS major version
This commit:
- upgrades FxA to use node 18, with two workarounds
- Webpack uses a hash algorithm that's no longer supported by default
in node 17+, causing build failures; --openssl-legacy-provider is
used as the workaround
- dns.lookup in node 17+ by default returns the results in the same
order as they are from the resolver, which could lead to
'localhost' resolving to ::1; --dns-result-order=ipv4first is used
as the workaround
18 lines
313 B
Plaintext
18 lines
313 B
Plaintext
{
|
|
"extends": ["plugin:fxa/recommended"],
|
|
"plugins": ["fxa"],
|
|
"parserOptions": {
|
|
"ecmaVersion": "2020"
|
|
},
|
|
"rules": {
|
|
"require-atomic-updates": "off",
|
|
"space-unary-ops": "off",
|
|
"no-useless-escape": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
"dist",
|
|
"node_modules",
|
|
"pm2.config.js"
|
|
]
|
|
}
|