@kunalnagarco/eslint-config 2.2.0 → 2.3.0-beta.1

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