@slashnephy/eslint-config 0.2.7 → 0.2.9

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/dist/react.js CHANGED
@@ -7,7 +7,7 @@ const react = {
7
7
  'plugin:react/jsx-runtime',
8
8
  'plugin:css-import-order/recommended',
9
9
  ],
10
- plugins: ['react-hooks', 'css-import-order'],
10
+ plugins: ['css-import-order'],
11
11
  parserOptions: {
12
12
  ecmaFeatures: {
13
13
  jsx: true,
@@ -121,14 +121,6 @@ const typescript = {
121
121
  '@typescript-eslint/switch-exhaustiveness-check': 'error',
122
122
  '@typescript-eslint/type-annotation-spacing': 'error',
123
123
  '@typescript-eslint/unbound-method': 'off',
124
- '@typescript-eslint/restrict-template-expressions': [
125
- 'error',
126
- {
127
- allowNumber: true,
128
- allowBoolean: true,
129
- allowNullish: true,
130
- },
131
- ],
132
124
  '@typescript-eslint/no-unused-vars': 'off',
133
125
  'unused-imports/no-unused-vars': [
134
126
  'warn',
@@ -139,6 +131,12 @@ const typescript = {
139
131
  argsIgnorePattern: '^_',
140
132
  },
141
133
  ],
134
+ '@typescript-eslint/no-unsafe-assignment': 'off',
135
+ '@typescript-eslint/no-unsafe-call': 'off',
136
+ '@typescript-eslint/no-unsafe-member-access': 'off',
137
+ '@typescript-eslint/no-unsafe-return': 'off',
138
+ '@typescript-eslint/no-unsafe-argument': 'off',
139
+ '@typescript-eslint/restrict-template-expressions': 'off',
142
140
  },
143
141
  };
144
142
  module.exports = typescript;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slashnephy/eslint-config",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,7 +44,7 @@
44
44
  "eslint-plugin-node": "11.1.0",
45
45
  "eslint-plugin-package-json": "0.1.4",
46
46
  "eslint-plugin-promise": "6.0.1",
47
- "eslint-plugin-react": "7.31.8",
47
+ "eslint-plugin-react": "7.31.10",
48
48
  "eslint-plugin-react-hooks": "4.6.0",
49
49
  "eslint-plugin-unused-imports": "2.0.0",
50
50
  "eslint-plugin-userscripts": "0.2.10",
@@ -58,11 +58,11 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@slashnephy/prettier-config": "0.1.1",
61
- "@types/eslint": "8.4.6",
61
+ "@types/eslint": "8.4.7",
62
62
  "@types/node": "17.0.41",
63
63
  "@types/prettier": "2.7.1",
64
- "concurrently": "7.4.0",
65
- "eslint": "8.25.0",
64
+ "concurrently": "7.5.0",
65
+ "eslint": "8.26.0",
66
66
  "prettier": "2.7.1",
67
67
  "typescript": "4.8.4"
68
68
  },