@dword-design/eslint-config 6.0.0 → 6.0.2

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.
@@ -100,6 +100,7 @@ export default () => {
100
100
  'import/no-extraneous-dependencies': ['error', {
101
101
  devDependencies: ['**/*.spec.js', ...(baseConfig.testRunner === 'playwright' ? ['fixtures/**', 'global-setup.js', 'global-teardown.js', 'playwright.config.js'] : ['global-test-hooks.js'])]
102
102
  }],
103
+ 'import/no-named-as-default': 'off',
103
104
  'import/order': 'off',
104
105
  'import/prefer-default-export': 'off',
105
106
  'linebreak-style': ['error', 'unix'],
@@ -131,18 +132,17 @@ export default () => {
131
132
  'no-restricted-imports': ['error', {
132
133
  paths: eslintRestrictedImports
133
134
  }],
134
- 'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
135
135
  'no-return-assign': 'off',
136
136
  'no-template-curly-in-string': 'off',
137
137
  'no-underscore-dangle': 'off',
138
138
  'no-var': 'error',
139
- 'object-shorthand': ['error', 'always'],
140
139
  [`${packageName`prettier`}/prettier`]: ['error', {
141
140
  arrowParens: 'avoid',
142
141
  objectWrap: 'collapse',
143
142
  singleQuote: true,
144
143
  trailingComma: 'all'
145
144
  }],
145
+ 'object-shorthand': ['error', 'always'],
146
146
  'padding-line-between-statements': ['error', {
147
147
  blankLine: 'never',
148
148
  next: '*',
@@ -174,7 +174,6 @@ export default () => {
174
174
  prev: '*'
175
175
  }],
176
176
  'prefer-arrow/prefer-arrow-functions': ['error'],
177
- // Everything from airbnb except ForOfStatement
178
177
  'prefer-destructuring': 'off',
179
178
  'require-await': 'error',
180
179
  'simple-import-sort/imports': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/eslint-config",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "repository": "dword-design/eslint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@
52
52
  "sort-package-json": "^3.2.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@dword-design/base": "^11.3.14",
55
+ "@dword-design/base": "^12.0.1",
56
56
  "@dword-design/functions": "^6.0.2",
57
57
  "@playwright/test": "^1.52.0",
58
58
  "execa": "^9.5.3",