swc/ecmascript/minifier/.eslintrc
강동윤 b02e189d07
feat(es/minifier): Implement more rules (#1871)
swc_ecma_codegen:
 - Fix codegen of `U+0028` and `U+0029`. 

swc_ecma_minifier:
 - Implement MVP.

swc_ecma_transforms_base:
 - `fixer`: Handle seq/await in rhs of for-of.
2021-07-30 10:11:27 +09:00

47 lines
1016 B
Plaintext

{
"parser": "babel-eslint",
"rules": {
"indent": [
"error",
4
],
"semi": [
"error",
"always"
],
"space-unary-ops": 2,
"no-undef": "off",
"consistent-return": "off",
"no-prototype-builtins": "off",
"no-cond-assign": "off",
"multiline-ternary": [
"error",
"always-multiline"
],
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": false
}
],
"function-call-argument-newline": [
"error",
"always"
],
"object-curly-newline": [
"error",
"always"
],
"comma-dangle": [
"error",
"always"
],
"function-paren-newline": [
"error",
"always"
],
"no-trailing-spaces": [
"error"
]
}
}