-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(.eslintrc,hotModuleReplacement.js): Update linting rules, no arro…
…ws (#85) * fix(.eslintrc,hotModuleReplacement.js): Update linting rules, remove arrow functions Arrow functions break IE11 (whats new), updated eslint so it wont autofix it fix #83 * style: Updated linting rules No destructuring for IE * fix: ES6 strings not TL Dont use template literals
- Loading branch information
1 parent
87334cf
commit 58966be
Showing
3 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
module.exports = { | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
generators: true, | ||
experimentalObjectRestSpread: true | ||
}, | ||
sourceType: 'module', | ||
allowImportExportEverywhere: false | ||
}, | ||
extends: ['airbnb'], | ||
env: { | ||
'browser': true, | ||
}, | ||
rules: { | ||
'no-param-reassign': 0, | ||
'func-names': 0, | ||
'no-underscore-dangle': 0, | ||
'no-restricted-syntax': 0, | ||
} | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
generators: true, | ||
experimentalObjectRestSpread: true | ||
}, | ||
sourceType: 'module', | ||
allowImportExportEverywhere: false | ||
}, | ||
extends: ['airbnb'], | ||
env: { | ||
'browser': true, | ||
}, | ||
rules: { | ||
'no-param-reassign': 0, | ||
'func-names': 0, | ||
'no-underscore-dangle': 0, | ||
'no-restricted-syntax': 0, | ||
'prefer-arrow-callback': 0, | ||
'prefer-destructuring': 0, | ||
'prefer-template': 0 | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters