Skip to content

Commit

Permalink
⚙️ Update non-rules settings (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning authored Jan 21, 2019
1 parent fb3d780 commit 84cc0bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
* Encourage best practices.
*/
module.exports = {
env: {
browser: true,
node: true,
},
plugins: ['import'],
rules: {
'no-console': 'warn',

Expand Down
4 changes: 0 additions & 4 deletions code-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
* Enforce a consistent code style.
*/
module.exports = {
env: {
browser: true,
node: true,
},
rules: {
'array-bracket-spacing': ['error', 'never'],
'arrow-parens': ['error', 'always'],
Expand Down
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
module.exports = {
parser: 'babel-eslint',
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 6,
ecmaVersion: 2018,
sourceType: 'module',
},
env: {
browser: true,
es6: true,
node: true,
},
plugins: ['import'],
extends: ['standard', './code-style.js', './best-practices.js'],
rules: {},
}

0 comments on commit 84cc0bf

Please sign in to comment.