forked from OctoLinker/OctoLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor repo improvements (OctoLinker#379)
* Use js file extension for eslintrc file * Fix eslintrc qutoes * Move babel config into own file
- Loading branch information
1 parent
3a5a798
commit e4bd3de
Showing
4 changed files
with
63 additions
and
63 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"transform-runtime", | ||
{ | ||
"helpers": false, | ||
"polyfill": false | ||
} | ||
], | ||
"transform-object-rest-spread" | ||
], | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"last 3 Chrome versions", | ||
"last 3 Firefox versions", | ||
"last 3 Opera versions" | ||
] | ||
} | ||
} | ||
] | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
module.exports = { | ||
extends: ['airbnb-base', 'plugin:import/errors'], | ||
plugins: ['mocha'], | ||
env: { | ||
browser: true, | ||
mocha: true | ||
}, | ||
rules: { | ||
'func-names': 0, | ||
'id-length': [1, {'exceptions': ['$']}], | ||
'new-cap': [2, {'capIsNewExceptions': ['Deferred']}], | ||
'max-len': 0, | ||
'no-prototype-builtins': 0, | ||
'import/extensions': 0, | ||
'import/prefer-default-export': 0, | ||
'no-underscore-dangle': 0, | ||
'no-useless-escape': 0, | ||
'class-methods-use-this': 0, | ||
'no-param-reassign': 0, | ||
'no-restricted-syntax': 0, | ||
'consistent-return': 0, | ||
'array-callback-return': 0, | ||
'mocha/no-exclusive-tests': 2, | ||
'mocha/no-skipped-tests': 2, | ||
'mocha/no-pending-tests': 2, | ||
'mocha/handle-done-callback': 2, | ||
'mocha/no-global-tests': 2, | ||
'mocha/no-return-and-callback': 2, | ||
'mocha/no-sibling-hooks': 2, | ||
'mocha/no-identical-title': 2, | ||
'mocha/no-top-level-hooks': 2 | ||
}, | ||
globals: { | ||
fixture: true, | ||
chrome: true, | ||
} | ||
} |
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