@tcy/eslint-rules 1.0.1 → 1.0.2

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 (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Custom rules
2
2
 
3
3
  ```typescript
4
- import { plugin as customRules } from 'tcy@eslint-rules/src/index.mjs';
4
+ import customRules from 'tcy@eslint-rules/src/index.mjs';
5
5
 
6
6
  const customConfig = [
7
7
  {
@@ -13,11 +13,10 @@ const customConfig = [
13
13
  'custom-rules/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
14
14
  'custom-rules/export-specifiers-per-line': 'error',
15
15
  'custom-rules/array-elements-per-line': 'error',
16
- }
17
- }
16
+ },
17
+ },
18
18
  ];
19
19
 
20
-
21
20
  export default [
22
21
  ...customConfig,
23
22
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tcy/eslint-rules",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "```typescript import { plugin as customRules } from 'tcy@eslint-rules/src/index.mjs';",
5
5
  "homepage": "https://github.com/tcastelly/eslint-rules#readme",
6
6
  "bugs": {