@kunalnagarco/eslint-config 2.2.0 → 2.3.0-beta.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,92 @@
1
+ # @kunalnagarco/eslint-config
2
+
3
+ ## 2.3.0-beta.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add support for prereleases
8
+
9
+ ## 2.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Remove nx and update dependencies
14
+
15
+ ## 2.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Add right peerdependencies to ESLint package
20
+
21
+ ## 2.0.0
22
+
23
+ ### Major Changes
24
+
25
+ - Switch from ESLint React App config to AirBnB TypeScript
26
+
27
+ ## 1.9.0
28
+
29
+ ### Minor Changes
30
+
31
+ - Change permission to write
32
+
33
+ ## 1.8.0
34
+
35
+ ### Minor Changes
36
+
37
+ - Remove Identity file
38
+
39
+ ## 1.7.0
40
+
41
+ ### Minor Changes
42
+
43
+ - Allow read permission for provenance
44
+
45
+ ## 1.6.0
46
+
47
+ ### Minor Changes
48
+
49
+ - Fix CD permissions for provenance
50
+
51
+ ## 1.5.0
52
+
53
+ ### Minor Changes
54
+
55
+ - Add npm provenance support
56
+
57
+ ## 1.4.0
58
+
59
+ ### Minor Changes
60
+
61
+ - Release minor versions of all packages
62
+
63
+ ## 1.3.0
64
+
65
+ ### Minor Changes
66
+
67
+ - Add build to CD script
68
+
69
+ ## 1.2.0
70
+
71
+ ### Minor Changes
72
+
73
+ - Test GitHub Action for changesets
74
+
75
+ ## 1.1.0
76
+
77
+ ### Minor Changes
78
+
79
+ - Bump minor versions for all packages
80
+
81
+ ## 1.0.0
82
+
83
+ ### Major Changes
84
+
85
+ - f344f56: Release major version
86
+
87
+ ### Minor Changes
88
+
89
+ - bf69eee: Add comment to eslint to test changesets
90
+ - 21c922f: Update monorepo to use Changesets
91
+ - 43b3cc1: Remove comment
92
+ - Bump minor version
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "@kunalnagarco/eslint-config",
3
- "version": "2.2.0",
3
+ "version": "2.3.0-beta.0",
4
4
  "description": "An ESLint configuration for use across javascript projects",
5
- "files": [
6
- "dist"
7
- ],
8
5
  "repository": {
9
6
  "url": "git+https://github.com/kunalnagarco/ui.git"
10
7
  },
11
- "main": "dist/index.js",
8
+ "main": "src/index.js",
12
9
  "keywords": [
13
10
  "eslint",
14
11
  "eslint-config",
@@ -36,7 +33,6 @@
36
33
  "provenance": true
37
34
  },
38
35
  "scripts": {
39
- "build": "rimraf dist && tsc",
40
36
  "pack:run": "yarn pack"
41
37
  },
42
38
  "devDependencies": {
package/src/index.js ADDED
@@ -0,0 +1,38 @@
1
+ import airbnbConfig from 'airbnb';
2
+ import airbnbTypescriptConfig from 'airbnb-typescript';
3
+ import prettierConfig from 'prettier';
4
+ import importPlugin from 'eslint-plugin-import';
5
+ import typescriptEslintPlugin from '@typescript-eslint';
6
+ import jestPlugin from 'jest';
7
+
8
+ module.exports = {
9
+ airbnbConfig,
10
+ airbnbTypescriptConfig,
11
+ prettierConfig,
12
+ plugins: {
13
+ importPlugin,
14
+ typescriptEslintPlugin,
15
+ jestPlugin,
16
+ },
17
+ env: {
18
+ browser: true,
19
+ es6: true,
20
+ jest: true,
21
+ },
22
+ parser: '@typescript-eslint/parser',
23
+ rules: {
24
+ 'import/order': [
25
+ 'error',
26
+ {
27
+ pathGroupsExcludedImportTypes: ['builtin'],
28
+ groups: [
29
+ 'builtin',
30
+ ['external', 'internal'],
31
+ 'parent',
32
+ ['sibling', 'index'],
33
+ ],
34
+ 'newlines-between': 'always',
35
+ },
36
+ ],
37
+ },
38
+ };
package/dist/index.js DELETED
@@ -1,26 +0,0 @@
1
- "use strict";
2
- module.exports = {
3
- extends: ['airbnb', 'airbnb-typescript', 'prettier'],
4
- plugins: ['import', '@typescript-eslint', 'jest'],
5
- env: {
6
- browser: true,
7
- es6: true,
8
- jest: true,
9
- },
10
- parser: '@typescript-eslint/parser',
11
- rules: {
12
- 'import/order': [
13
- 'error',
14
- {
15
- pathGroupsExcludedImportTypes: ['builtin'],
16
- groups: [
17
- 'builtin',
18
- ['external', 'internal'],
19
- 'parent',
20
- ['sibling', 'index'],
21
- ],
22
- 'newlines-between': 'always',
23
- },
24
- ],
25
- },
26
- };