@nitra/eslint-config 3.0.5 → 3.0.7

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 (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -48,7 +48,6 @@ const all = [
48
48
  },
49
49
  rules: {
50
50
  ...js.configs.recommended.rules,
51
- 'n/no-missing-import': 'off', // покривається oxlint https://github.com/oxc-project/oxc/issues/481#issuecomment-3135766557
52
51
  'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }]
53
52
  }
54
53
  },
@@ -83,6 +82,7 @@ const node = [
83
82
  // { plugins: { '@microsoft/eslint-plugin-sdl': sdlPlugin } },
84
83
  {
85
84
  rules: {
85
+ 'n/no-missing-import': 'off', // покривається oxlint https://github.com/oxc-project/oxc/issues/481#issuecomment-3135766557
86
86
  'security/detect-non-literal-fs-filename': 'off',
87
87
  'security/detect-object-injection': 'off'
88
88
  },
@@ -184,6 +184,7 @@ const vue2 = [
184
184
  * @param {{node?: Array, vue?: Array, vue2?: Array}} params список директорій до яких примінити Eslint правили
185
185
  * @returns {Array} конфігурації eslint
186
186
  */
187
+ // oxlint-disable-next-line unicorn/no-object-as-default-parameter
187
188
  export function getConfig(params = { node: [], vue: [], vue2: [] }) {
188
189
  const result = all
189
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/eslint-config",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "A Eslint shareable config for projects using 'Vue' and 'Node'",
5
5
  "type": "module",
6
6
  "exports": "./index.js",