Skip to content

Commit

Permalink
More leniency during development
Browse files Browse the repository at this point in the history
  • Loading branch information
beschoenen committed Mar 12, 2019
1 parent f9cb669 commit 0b3b299
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapcreator/eslint-config",
"version": "1.0.0",
"version": "1.0.1",
"description": "MapCreator eslint configs",
"main": "index.js",
"repository": "[email protected]:MapCreatorEU/eslint-config.git",
Expand Down
2 changes: 1 addition & 1 deletion rules/es6/bestPractices.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'dot-location': ['error', 'property'],
'dot-notation': 'error',
'eqeqeq': 'error',
// 'no-alert': prod(),
'no-alert': prod(),
'no-caller': prod(),
'no-else-return': 'error',
'no-eq-null': 'error',
Expand Down
6 changes: 3 additions & 3 deletions rules/es6/stylisticIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
'no-lonely-if': 'error',
'no-mixed-operators': 'error',
'no-multiple-empty-lines': [prod(), { max: 2, maxEOF: 1 }],
'no-negated-condition': 'warn', // prod()?
'no-negated-condition': prod(),
'no-nested-ternary': 'error',
'no-new-object': 'error',
'no-tabs': 'error',
Expand Down Expand Up @@ -64,7 +64,7 @@ module.exports = {
'prefer-object-spread': prod(),
'quote-props': [prod(), 'consistent-as-needed'],
'quotes': [prod(), 'single'],
'semi': ['error', 'always'],
'semi': [prod(), 'always'],
'semi-spacing': prod(),
'semi-style': [prod(), 'last'],
'space-before-blocks': [prod(), 'always'],
Expand All @@ -88,6 +88,6 @@ module.exports = {
'prefer-spread': 'error',
'prefer-template': prod(),
'rest-spread-spacing': ['error', 'never'],
'template-curly-spacing': ['error', 'never'],
'template-curly-spacing': [prod(), 'never'],
},
};

0 comments on commit 0b3b299

Please sign in to comment.