Created
February 23, 2019 06:28
-
-
Save mpalmr/1a8942a4a9438dced54bfeca5db16c04 to your computer and use it in GitHub Desktop.
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
'use strict'; | |
module.exports = { | |
extends: 'airbnb-base', | |
plugins: ['import'], | |
parserOptions: { | |
sourceType: 'script', | |
}, | |
env: { | |
node: true, | |
es6: true, | |
}, | |
rules: { | |
strict: ['error', 'global'], | |
'no-console': 0, | |
}, | |
overrides: [ | |
{ | |
files: [ | |
'jest.setup.js', | |
'src/**/__tests__/**/*.js', | |
], | |
env: { jest: true }, | |
rules: { | |
'func-names': 0, | |
'prefer-arrow-callback': 0, | |
'no-underscore-dangle': 0, | |
'import/no-extraneous-dependencies': [2, { | |
devDependencies: true, | |
}], | |
}, | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment