Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ module.exports = {

// Ensures that there are no useless path segments
// https://github.com/benmosher/eslint-plugin-import/issues/1032
// TODO: enable
'import/no-useless-path-segments': 'off',
'import/no-useless-path-segments': 'error',
},
};
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/test/test-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'fs';
import path from 'path';
import test from 'tape';

import index from '../';
import index from '..';

const files = { ...{ index } }; // object spread is to test parsing

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/test/test-react-order.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'tape';
import { CLIEngine } from 'eslint';
import eslintrc from '../';
import eslintrc from '..';
import reactRules from '../rules/react';
import reactA11yRules from '../rules/react-a11y';

Expand Down