@tuomashatakka/eslint-config 2.0.0 → 2.1.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/eslint.config.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  import eslint from '@eslint/js'
2
2
  import stylistic from '@stylistic/eslint-plugin';
3
3
  import tsplugin from '@typescript-eslint/eslint-plugin';
4
- import eslintPluginBlockPadding from 'eslint-plugin-block-padding';
5
4
  import importPlugin from 'eslint-plugin-import';
6
5
  import react from 'eslint-plugin-react';
7
6
  import tseslint from 'typescript-eslint'
@@ -19,13 +18,13 @@ export default tseslint.config(
19
18
  ...eslint.configs.recommended,
20
19
  ignores,
21
20
  },
22
- { plugins: {
21
+ {
22
+ plugins: {
23
23
  '@stylistic': stylistic,
24
24
  'react': react,
25
25
  'import': importPlugin,
26
- '@typescript-eslint': tsplugin,
27
- 'block-padding': eslintPluginBlockPadding,
28
- },
26
+ '@typescript-eslint': tsplugin
27
+ },
29
28
  },
30
29
  ...tseslint.configs.recommended.map((config) => ({
31
30
  ...config,
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import config from './eslint.config.js'
1
+ import config from './eslint.config.mjs'
2
2
 
3
3
 
4
4
  export default config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuomashatakka/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Default eslint configuration",
5
5
  "type": "module",
6
6
  "main": "index.mjs",
@@ -18,7 +18,9 @@
18
18
  },
19
19
  "homepage": "https://github.com/tuomashatakka/eslint-config#readme",
20
20
  "peerDependencies": {
21
- "react": "*"
21
+ "react": "*",
22
+ "@stylistic/eslint-plugin": "*",
23
+ "typescript-eslint": "*"
22
24
  },
23
25
  "devDependencies": {
24
26
  "@eslint/compat": "^1.2.1",
package/rules.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const rules = {
2
2
 
3
- 'block-padding/after-block': [ 'warn', 2 ],
3
+ // 'block-padding/after-block': [ 'warn', 2 ],
4
4
 
5
5
  // @stylistic
6
6
  '@stylistic/jsx-quotes': [ 'warn', 'prefer-single' ],