@mkappelhof/eslint-config-base 1.0.3 → 1.0.4

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.
@@ -0,0 +1,4 @@
1
+ $ rollup -c
2
+ 
3
+ ./index.js → ./dist/index.js...
4
+ created ./dist/index.js in 17ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @mkappelhof/eslint-config-base
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3561b82: Add readme's
8
+ - Updated dependencies [3561b82]
9
+ - @mkappelhof/prettier-config@1.0.4
10
+
3
11
  ## 1.0.3
4
12
 
5
13
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # Base ESLint configuration
2
+
3
+ Base ESLint configuration to extend from in other, more specified configurations. This package is not intended to be used in a client.
4
+
5
+ - For Next.js projects use [@mkappelhof/eslint-config-next](https://www.npmjs.com/package/@mkappelhof/eslint-config-next)
6
+ - For Node.js projects use [@mkappelhof/eslint-config-node](https://www.npmjs.com/package/@mkappelhof/eslint-config-node)
7
+ - For React projects use [@mkappelhof/eslint-config-react](https://www.npmjs.com/package/@mkappelhof/eslint-config-react)
@@ -0,0 +1,42 @@
1
+ env:
2
+ browser: true
3
+ es2021: true
4
+ extends:
5
+ - eslint:recommended
6
+ - plugin:@typescript-eslint/recommended
7
+ - prettier
8
+ plugins:
9
+ - simple-import-sort
10
+ - '@typescript-eslint'
11
+ overrides: []
12
+ parser: '@typescript-eslint/parser'
13
+ parserOptions:
14
+ project:
15
+ - tsconfig.json
16
+ rules:
17
+ arrow-body-style:
18
+ - error
19
+ - as-needed
20
+ no-console: error
21
+ no-unused-vars: 'off'
22
+ import/prefer-default-export: 'off'
23
+ '@typescript-eslint/consistent-type-imports': error
24
+ '@typescript-eslint/no-explicit-any': error
25
+ '@typescript-eslint/no-unused-vars':
26
+ - error
27
+ - argsIgnorePattern: '^_'
28
+ varsIgnorePattern: '^_'
29
+ caughtErrorsIgnorePattern: '^_'
30
+ simple-import-sort/imports:
31
+ - error
32
+ - groups:
33
+ - - '^react'
34
+ - "^@?\\w"
35
+ - - '^(components|modules|utils)(/.*|$)'
36
+ - - "^\\u0000"
37
+ - - "^\\.\\.(?!/?$)"
38
+ - "^\\.\\./?$"
39
+ - - "^\\./(?=.*/)(?!/?$)"
40
+ - "^\\.(?!/?$)"
41
+ - "^\\./?$"
42
+ - - "^.+\\.?(css)$"
@@ -0,0 +1,9 @@
1
+ # @mkappelhof/eslint-config-base
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f6c9a4: add changeset
8
+ - Updated dependencies [9f6c9a4]
9
+ - @mkappelhof/prettier-config@1.0.1
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = { extends: './.eslintrc.yml' };
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@mkappelhof/eslint-config-base",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "license": "MIT",
6
+ "repository": "git@github.com:mkappelhof/frontend-tools.git",
7
+ "scripts": {
8
+ "build": "rollup -c",
9
+ "test": "yaml-validator .eslintrc.yml"
10
+ },
11
+ "dependencies": {
12
+ "@mkappelhof/prettier-config": "*",
13
+ "@typescript-eslint/eslint-plugin": "6.3.0",
14
+ "@typescript-eslint/parser": "6.3.0",
15
+ "eslint-config-prettier": "9.0.0",
16
+ "eslint-plugin-prettier": "5.0.0",
17
+ "eslint-plugin-simple-import-sort": "10.0.0",
18
+ "yaml-validator": "5.1.0"
19
+ },
20
+ "peerDependencies": {
21
+ "eslint": "8.46.0",
22
+ "typescript": "5.1.6"
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkappelhof/eslint-config-base",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": "git@github.com:mkappelhof/frontend-tools.git",