Skip to content

Commit

Permalink
Merge pull request #13 from Gipphe/eslintrc-style
Browse files Browse the repository at this point in the history
style: format eslintrc
  • Loading branch information
Gipphe committed Jul 11, 2019
2 parents 57652a0 + eb29971 commit 265d79e
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ module.exports = {
extends: ['./node_modules/sanctuary-style/eslint-es3.json'],
rules: {
strict: 'off',
indent: [
indent: [
'error',
'tab',
{
'SwitchCase': 1,
'FunctionDeclaration': {'parameters': 'first'},
'FunctionExpression': {'parameters': 'first'},
'CallExpression': {'arguments': 'first'},
'FunctionDeclaration': { 'parameters': 'first' },
'FunctionExpression': { 'parameters': 'first' },
'CallExpression': { 'arguments': 'first' },
'ArrayExpression': 'first',
'ObjectExpression': 'first',
'ignoredNodes': [
Expand All @@ -26,32 +26,32 @@ module.exports = {
'no-tabs': 'off',
},
overrides: [
{
files: ['*.md'],
globals: {
'$': false,
'Cons': false,
'Descending': false,
'Just': false,
'Left': false,
'Nil': false,
'Nothing': false,
'Pair': false,
'R': false,
'Right': false,
'S': false,
'Sum': false,
'localStorage': false,
'sanctuary': false,
'window': false
},
rules: {
'comma-dangle': ['error', 'always-multiline'],
'indent': ['off'],
'no-eval': ['off'],
'no-extra-semi': ['off'],
'no-unused-vars': ['error', {'varsIgnorePattern': '^([$]|S)$'}]
{
files: ['*.md'],
globals: {
'$': false,
'Cons': false,
'Descending': false,
'Just': false,
'Left': false,
'Nil': false,
'Nothing': false,
'Pair': false,
'R': false,
'Right': false,
'S': false,
'Sum': false,
'localStorage': false,
'sanctuary': false,
'window': false
},
rules: {
'comma-dangle': ['error', 'always-multiline'],
'indent': ['off'],
'no-eval': ['off'],
'no-extra-semi': ['off'],
'no-unused-vars': ['error', { 'varsIgnorePattern': '^([$]|S)$' }]
}
}
}
]
}
}

0 comments on commit 265d79e

Please sign in to comment.