@aliexme/eslint-config 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ Extend your ESLint config file:
20
20
  }
21
21
  ```
22
22
 
23
- ## Typescript
23
+ ### Typescript
24
24
 
25
25
  To check ts-files, install additional packages:
26
26
 
@@ -39,7 +39,7 @@ And add the following lines to your ESLint config file:
39
39
  }
40
40
  ```
41
41
 
42
- ## React
42
+ ### React
43
43
 
44
44
  Install additional packages:
45
45
 
@@ -59,7 +59,7 @@ And add the following lines to your ESLint config file:
59
59
  }
60
60
  ```
61
61
 
62
- ## React Native
62
+ ### React Native
63
63
 
64
64
  Install additional packages:
65
65
 
@@ -78,7 +78,7 @@ And add the following lines to your ESLint config file:
78
78
  }
79
79
  ```
80
80
 
81
- ## Prettier
81
+ ### Prettier
82
82
 
83
83
  Install additional packages:
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliexme/eslint-config",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Rule set for ESLint",
5
5
  "private": false,
6
6
  "author": "Alexander Smirnov <al.smirnov996@gmail.com>",
@@ -69,5 +69,5 @@
69
69
  "optional": true
70
70
  }
71
71
  },
72
- "gitHead": "f42e4eeb6e4ecc0a139d72708d562a5004d55ae9"
72
+ "gitHead": "808be13c67dafee8890814d7392824160bf5e836"
73
73
  }
package/rules/import.js CHANGED
@@ -17,6 +17,13 @@ module.exports = {
17
17
  'error',
18
18
  {
19
19
  groups: [['builtin', 'external'], 'internal', ['parent', 'sibling'], 'index', 'object'],
20
+ pathGroups: [
21
+ {
22
+ pattern: './{styles,*.styles,*.css,*.scss}',
23
+ group: 'internal',
24
+ position: 'before',
25
+ },
26
+ ],
20
27
  'newlines-between': 'always',
21
28
  warnOnUnassignedImports: true,
22
29
  },