@jarsec/eslint-config 4.0.0 → 4.1.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 +6 -0
  2. package/index.js +22 -32
  3. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a47f70d: Add @stylistic/eslint-plugin
8
+
3
9
  ## 4.0.0
4
10
 
5
11
  ### 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.1.0",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "main": "index.js",
@@ -23,6 +23,7 @@
23
23
  "typescript": "^5.2.2"
24
24
  },
25
25
  "devDependencies": {
26
+ "@stylistic/eslint-plugin": "^1.4.0",
26
27
  "@types/node": "^20.9.1",
27
28
  "eslint": "^8.53.0",
28
29
  "typescript": "^5.2.2"