Files
firefox-accounts-mirror/.eslintrc
Barry Chen da11e63832 chore(deps): upgrade to node.js 18
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
2023-03-20 13:28:10 -05:00

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"
]
}