@eduzz/eslint-config
Advanced tools
Comparing version 2.1.3 to 2.2.0
@@ -6,3 +6,3 @@ const { fixupPluginRules } = require('@eslint/compat'); | ||
/** @type import('eslint').Linter.FlatConfig */ | ||
/** @type import('eslint').Linter.Config */ | ||
module.exports = { | ||
@@ -15,3 +15,3 @@ name: '@eduzz/eslint-config-defaults', | ||
'prettier': pluginPrettier, | ||
'import': pluginImport, | ||
'import': fixupPluginRules(pluginImport), | ||
'unused-imports': pluginUnusedImports | ||
@@ -18,0 +18,0 @@ }, |
@@ -5,3 +5,3 @@ const { fixupPluginRules } = require('@eslint/compat'); | ||
/** @type import('eslint').Linter.FlatConfig */ | ||
/** @type import('eslint').Linter.Config */ | ||
module.exports = { | ||
@@ -8,0 +8,0 @@ name: '@eduzz/eslint-config-react', |
const pluginImport = require('eslint-plugin-import'); | ||
const tseslint = require('typescript-eslint'); | ||
/** @type import('eslint').Linter.FlatConfig */ | ||
/** @type import('eslint').Linter.Config */ | ||
module.exports = [ | ||
@@ -6,0 +6,0 @@ ...tseslint.configs.recommended.map(config => ({ ...config, files: ['**/*.ts', '**/*.tsx'] })), |
@@ -7,4 +7,4 @@ const configDefault = require('./configs/default'); | ||
ignores, | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
configs: [configDefault, ...configTypescript] | ||
}; |
{ | ||
"name": "@eduzz/eslint-config", | ||
"private": false, | ||
"version": "2.1.3", | ||
"version": "2.2.0", | ||
"keywords": [ | ||
@@ -27,21 +27,21 @@ "eduzz", | ||
"dependencies": { | ||
"@eduzz/eslint-config": "^2.0.0-beta.0", | ||
"@eslint/compat": "^1.0.3", | ||
"@types/eslint": "^8.56.10", | ||
"@eduzz/eslint-config": "^2.1.3", | ||
"@eslint/compat": "^1.1.1", | ||
"@types/eslint": "^9.6.0", | ||
"eslint": "^9", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-eslint-plugin": "^6.1.0", | ||
"eslint-plugin-eslint-plugin": "^6.2.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-react": "^7.34.2", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-react": "^7.35.0", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"eslint-plugin-react-native": "^4.1.0", | ||
"eslint-plugin-unused-imports": "^4.0.0", | ||
"eslint-plugin-unused-imports": "^4.0.1", | ||
"parse-gitignore": "^2.0.0", | ||
"prettier": "^3.3.0", | ||
"prettier-plugin-tailwindcss": "^0.6.1", | ||
"typescript-eslint": "^7.11.0" | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-tailwindcss": "^0.6.5", | ||
"typescript-eslint": "^7.18.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -48,0 +48,0 @@ "peerDependencies": {}, |
@@ -10,4 +10,4 @@ const configReactNative = require('./configs/react-native'); | ||
ignores, | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
configs: [...configs, configReactNative] | ||
}; |
@@ -8,4 +8,4 @@ const configReact = require('./configs/react'); | ||
ignores, | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
configs: [...configs, configReact] | ||
}; |
@@ -17,3 +17,3 @@ # ESLint Config | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
module.exports = [...configs, { ignores: ignores() }]; | ||
@@ -35,3 +35,3 @@ ``` | ||
```js | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
module.exports = [...configs, { ignores: ignores('**/ignore/**.js', 'ignore.js') }]; | ||
@@ -44,3 +44,3 @@ ``` | ||
```js | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
/** @type import('eslint').Linter.Config[] */ | ||
module.exports = [ | ||
@@ -47,0 +47,0 @@ ...configs, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12296
+ Added@types/eslint@9.6.1(transitive)
- Removed@types/eslint@8.56.12(transitive)
Updated@eduzz/eslint-config@^2.1.3
Updated@eslint/compat@^1.1.1
Updated@types/eslint@^9.6.0
Updatedeslint-plugin-react@^7.35.0
Updatedprettier@^3.3.3
Updatedtypescript-eslint@^7.18.0