@kaizentech/eslint-config-base 1.2.0 → 1.4.0

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.
Files changed (3) hide show
  1. package/README.md +21 -0
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @kaizentech/eslint-config-base
2
+
3
+ This package contains base javascript style guide
4
+
5
+ ## Installation
6
+ ```bash
7
+ yarn add -D @kaizentech/eslint-config-base eslint prettier
8
+ ```
9
+
10
+ ## Usage
11
+ first of all create a .eslintrc.json file in the root of your project.
12
+
13
+ then add this
14
+
15
+ ```json
16
+ {
17
+ "root": true,
18
+ "extends": "@kaizentech/base"
19
+ }
20
+
21
+ ```
package/index.js CHANGED
@@ -14,7 +14,7 @@ module.exports = {
14
14
  'import/order': [
15
15
  'error',
16
16
  {
17
- groups: ['builtin', 'external', 'internal'],
17
+ groups: ['builtin', 'external', 'internal', ['parent', 'sibling', 'index']],
18
18
  pathGroups: [
19
19
  {
20
20
  pattern: 'react',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizentech/eslint-config-base",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Kaizen's ESLint base config",
5
5
  "main": "index.js",
6
6
  "repository": {