@jarsec/eslint-config 4.0.0 → 4.2.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/CHANGELOG.md +12 -0
  2. package/index.js +22 -32
  3. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4c2b1f2: Correct bug where stylistic plugin was not bundled into the library tarball
8
+
9
+ ## 4.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a47f70d: Add @stylistic/eslint-plugin
14
+
3
15
  ## 4.0.0
4
16
 
5
17
  ### Major Changes
package/index.js CHANGED
@@ -1,36 +1,26 @@
1
1
  require('@rushstack/eslint-patch/modern-module-resolution')
2
2
 
3
3
  module.exports = {
4
- env: {
5
- node: true
6
- },
7
- extends: [
8
- 'eslint:recommended',
9
- 'plugin:@typescript-eslint/recommended',
10
- 'plugin:@typescript-eslint/stylistic',
11
- 'plugin:perfectionist/recommended-natural',
12
- 'prettier'
13
- ],
14
- overrides: [
15
- {
16
- files: ['**/*/*.{test,spec}.ts'],
17
- rules: {
18
- '@typescript-eslint/no-unsafe-assignment': 'off',
19
- '@typescript-eslint/no-unsafe-call': 'off',
20
- '@typescript-eslint/no-unsafe-member-access': 'off',
21
- '@typescript-eslint/unbound-method': 'off'
22
- }
23
- }
24
- ],
25
- parser: '@typescript-eslint/parser',
26
- parserOptions: {
27
- project: './tsconfig.json'
28
- },
29
- plugins: ['import', 'perfectionist', '@typescript-eslint/eslint-plugin'],
30
- settings: {
31
- 'import/resolver': {
32
- node: true,
33
- typescript: true
34
- }
35
- }
4
+ env: {
5
+ node: true,
6
+ },
7
+ extends: [
8
+ 'eslint:recommended',
9
+ 'plugin:@typescript-eslint/recommended',
10
+ 'plugin:@typescript-eslint/stylistic',
11
+ 'plugin:perfectionist/recommended-natural',
12
+ 'plugin:@stylistic/disable-legacy',
13
+ 'plugin:@stylistic/recommended-extends',
14
+ ],
15
+ parser: '@typescript-eslint/parser',
16
+ parserOptions: {
17
+ project: './tsconfig.json',
18
+ },
19
+ plugins: ['import', 'perfectionist', '@typescript-eslint/eslint-plugin', '@stylistic'],
20
+ settings: {
21
+ 'import/resolver': {
22
+ node: true,
23
+ typescript: true,
24
+ },
25
+ },
36
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarsec/eslint-config",
3
- "version": "4.0.0",
3
+ "version": "4.2.0",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "main": "index.js",
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@rushstack/eslint-patch": "^1.6.0",
13
+ "@stylistic/eslint-plugin": "^1.4.0",
13
14
  "@types/node": "^20.9.3",
14
15
  "@typescript-eslint/eslint-plugin": "^6.12.0",
15
16
  "@typescript-eslint/parser": "^6.12.0",