Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Switch jscs (deprecated) to eslint #28
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchirls committed Jun 5, 2017
1 parent 591c957 commit 2cecd46
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 195 deletions.
23 changes: 14 additions & 9 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,22 @@ module.exports = (function () {
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'jscs-loader',
loader: 'eslint-loader',
enforce: 'pre',
options: {
failOnHint: true,
emitErrors: true,

preset: 'crockford',
validateIndentation: '\t',
requireLineFeedAtFileEnd: null,
validateQuoteMarks: '\'',
requireMultipleVarDecl: false
failOnError: true,
emitError: true,
extends: 'eslint-config-crockford',
parserOptions: {
sourceType: 'module',
ecmaVersion: 6
},
rules: {
indent: ['error', 'tab', { SwitchCase: 1 }],
'eol-last': ['off'],
quotes: ['error', 'single']
// requireMultipleVarDecl: false
}
}
},

Expand Down
Loading

0 comments on commit 2cecd46

Please sign in to comment.