Skip to content
Permalink
Browse files

ESLint karma configs and update eslint configs

  • Loading branch information...
thesephist committed Jan 26, 2019
1 parent 3c3f928 commit 0ee3dde97e6b1be55d8ed0dc92409c1f2a7d64dd
Showing with 4 additions and 4 deletions.
  1. +2 −2 .eslintrc.js
  2. +2 −2 karma.conf.js
@@ -87,7 +87,7 @@ module.exports = {
],
'func-call-spacing': 'error',
'func-name-matching': 'error',
'func-names': 'error',
'func-names': 'off',
'func-style': [
'error',
'declaration',
@@ -204,7 +204,7 @@ module.exports = {
'no-param-reassign': 'off',
'no-path-concat': 'error',
'no-plusplus': 'off',
'no-process-env': 'error',
'no-process-env': 'off', // for env vars
'no-process-exit': 'error',
'no-proto': 'error',
'no-prototype-builtins': 'error',
@@ -14,7 +14,7 @@ if (IS_PROD) {
];
}

let coverageOptions = IS_PROD ? {} : {
const coverageOptions = IS_PROD ? {} : {
preprocessors: {
'dist/**/*.js': ['coverage'],
},
@@ -32,7 +32,7 @@ module.exports = function (config) {
files: karmaFiles,

exclude: [
'**/*.swp'
'**/*.swp',
],

reporters: IS_PROD ? [

0 comments on commit 0ee3dde

Please sign in to comment.
You can’t perform that action at this time.