Skip to content

Commit

Permalink
Update lint config for src/util/generate-pnp-map-api.tpl.js.
Browse files Browse the repository at this point in the history
This file does not get transpiled down for Node 4 compat like other
files, so we cannot use `"trailingComma": "all"` configuration (the
default prettier config for this repo).
  • Loading branch information
rwjblue committed Jan 3, 2019
1 parent 7305948 commit d6841b8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.json
Expand Up @@ -37,6 +37,20 @@
"rules": {
"no-console": "off"
}
},
{
"files": [
"src/util/generate-pnp-map-api.tpl.js"
],
"rules": {
"prettier/prettier": ["error", {
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false,
"printWidth": 120,
"parser": "flow"
}]
}
}
]
}

0 comments on commit d6841b8

Please sign in to comment.