@dword-design/eslint-config 5.0.29 → 5.0.31

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.
@@ -107,7 +107,7 @@ export default () => {
107
107
  'no-restricted-imports': ['error', {
108
108
  paths: eslintRestrictedImports
109
109
  }],
110
- 'no-restricted-syntax': ['error', "LogicalExpression[operator='??']"],
110
+ 'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
111
111
  'no-return-assign': 'off',
112
112
  'no-template-curly-in-string': 'off',
113
113
  'no-underscore-dangle': 'off',
@@ -142,13 +142,14 @@ export default () => {
142
142
  next: 'export',
143
143
  prev: '*'
144
144
  }],
145
- 'prefer-arrow/prefer-arrow-functions': ['error'],
146
145
  [`${packageName`prettier`}/prettier`]: ['error', {
147
146
  arrowParens: 'avoid',
148
147
  plugins: [packageName`prettier-plugin-compactify`],
149
148
  singleQuote: true,
150
149
  trailingComma: 'all'
151
150
  }],
151
+ 'prefer-arrow/prefer-arrow-functions': ['error'],
152
+ // Everything from airbnb except ForOfStatement
152
153
  'prefer-destructuring': 'off',
153
154
  'require-await': 'error',
154
155
  'simple-import-sort/imports': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/eslint-config",
3
- "version": "5.0.29",
3
+ "version": "5.0.31",
4
4
  "repository": "dword-design/eslint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",