Skip to content

Commit b37d759

Browse files
reivJulian Schleemann
and
Julian Schleemann
authored
feat: use eslint-plugin-import for import/order only (#409)
Co-authored-by: Julian Schleemann <[email protected]>
1 parent a0bc705 commit b37d759

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/linting/eslint/base.js

-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ const globals = require('globals');
88
module.exports = {
99
files: ['**/*.{ts,tsx,js,jsx}'],
1010
plugins: {import: importPlugin},
11-
// Fix for https://github.com/import-js/eslint-plugin-import/issues/2556
12-
settings: {
13-
'import/parsers': {
14-
espree: ['.js', '.cjs', '.mjs', '.jsx'],
15-
},
16-
},
1711
languageOptions: {
1812
globals: {
1913
...globals.browser,
@@ -26,7 +20,6 @@ module.exports = {
2620
},
2721
rules: {
2822
...eslintJs.configs.recommended.rules,
29-
...importPlugin.configs.recommended.rules,
3023
'import/order': [
3124
'warn',
3225
{

packages/linting/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@atmina/linting",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "A collection of opinionated in-house linting rules.",
55
"main": "index.js",
66
"scripts": {},

0 commit comments

Comments
 (0)