Skip to content

Commit

Permalink
Add lint rule for function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnucki committed Feb 4, 2017
1 parent f559829 commit dd0277a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
module.exports = {
extends: 'airbnb-base',
env: {
browser: true,
es6: true,
jasmine: true,
mocha: true,
node: true
browser: true,
es6: true,
jasmine: true,
mocha: true,
node: true
},
parserOptions: {
sourceType: 'script'
Expand All @@ -16,6 +16,7 @@ module.exports = {
'comma-dangle': ['error', 'never'],
'no-plusplus': 'off',
'no-underscore-dangle': ['error', {allowAfterThis: true}],
'no-use-before-define': ['error', {functions: false}],
'object-curly-spacing': ['error', 'never']
}
};

0 comments on commit dd0277a

Please sign in to comment.