Skip to content

Commit

Permalink
Fix: move index.js and configs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea authored and michalsnik committed Jun 15, 2017
1 parent d1bea4b commit 5da8841
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
'eslint-plugin'
],
rules: {
'complexity': 'off',
'eslint-plugin/report-message-format': ['error', '^[A-Z].*\\.$'],
'eslint-plugin/prefer-placeholders': 'error',
'eslint-plugin/consistent-output': 'error'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion config/recommended.js → lib/config/recommended.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
extends: require.resolve('./base.js'),
rules: require('../lib/recommended-rules.js')
rules: require('../recommended-rules.js')
}
2 changes: 1 addition & 1 deletion index.js → lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const resolve = require('path').resolve
const requireIndex = require('requireindex')

const rules = requireIndex(resolve(__dirname, 'lib/rules'))
const rules = requireIndex(resolve(__dirname, 'rules'))
const configs = requireIndex(resolve(__dirname, 'config'))

module.exports = {
Expand Down

0 comments on commit 5da8841

Please sign in to comment.