Skip to content

Commit

Permalink
feat: including our standard prettier config so it can be shared (#41)
Browse files Browse the repository at this point in the history
* feat: including our standard prettier config so it can be shared

* chore: stop building against node 8
  • Loading branch information
erunion authored Jan 28, 2020
1 parent 286dcd9 commit 3ec3f0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v1
Expand Down
9 changes: 8 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ module.exports = {

'prefer-destructuring': 'off',

'prettier/prettier': 'error',
'prettier/prettier': [
'error',
{
printWidth: 120,
singleQuote: true,
trailingComma: 'es5',
},
],

'sonarjs/cognitive-complexity': 'off',
'sonarjs/no-collapsible-if': 'off',
Expand Down

0 comments on commit 3ec3f0b

Please sign in to comment.