Skip to content

Commit

Permalink
Fix overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Oct 26, 2023
1 parent 2a64d2c commit 1e51c9e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ module.exports = {
'node': true
},
'extends': 'eslint:recommended',
'overrides': [],
'overrides': [
{
'files': ['samples/*.js'],
'rules': {
'no-console': ['warn'],
}
}
],
'parserOptions': {
'ecmaVersion': 'latest'
},
Expand Down Expand Up @@ -48,14 +55,6 @@ module.exports = {
'named': 'never',
'asyncArrow': 'always',
}],
'overrides': [
{
'files': ['samples/*.js'],
'rules': {
'no-console': ['warn', { 'allow': ['warn', 'error'] }],
}
}
],
'space-infix-ops': ['warn'],
}
};

0 comments on commit 1e51c9e

Please sign in to comment.