@eduzz/eslint-config
Advanced tools
Comparing version 2.0.0-beta.5 to 2.0.0-beta.6
@@ -13,3 +13,5 @@ module.exports = { | ||
printWidth: 120, | ||
semi: true | ||
semi: true, | ||
plugins: ['prettier-plugin-tailwindcss'], | ||
tailwindFunctions: ['tw', 'clsx'] | ||
}; |
@@ -6,5 +6,6 @@ const pluginImport = require('eslint-plugin-import'); | ||
module.exports = [ | ||
...tseslint.configs.recommended, | ||
...tseslint.configs.recommended.map(config => ({ ...config, files: ['**/*.ts', '**/*.tsx'] })), | ||
{ | ||
name: '@eduzz/eslint-config-typescript', | ||
files: ['**/*.ts', '**/*.tsx'], | ||
rules: { | ||
@@ -11,0 +12,0 @@ ...pluginImport.configs.typescript.rules, |
@@ -1,2 +0,2 @@ | ||
const { concat } = require('eslint-flat-config-utils'); | ||
const gitIgnore = require('eslint-config-flat-gitignore'); | ||
@@ -7,2 +7,7 @@ const configDefault = require('./configs/default'); | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
module.exports = [configDefault, ...configTypescript]; | ||
module.exports = [ | ||
configDefault, | ||
...configTypescript, | ||
gitIgnore(), | ||
{ ignores: ['**/.expo/**', '**/node_modules/**', '**/.git/**'] } | ||
]; |
{ | ||
"name": "@eduzz/eslint-config", | ||
"private": false, | ||
"version": "2.0.0-beta.5", | ||
"version": "2.0.0-beta.6", | ||
"keywords": [ | ||
@@ -30,4 +30,4 @@ "eduzz", | ||
"eslint": "^8", | ||
"eslint-config-flat-gitignore": "^0.1.5", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-flat-config-utils": "^0.2.1", | ||
"eslint-plugin-eslint-plugin": "^5.5.0", | ||
@@ -34,0 +34,0 @@ "eslint-plugin-import": "^2.29.1", |
@@ -1,13 +0,7 @@ | ||
const configReact = require('./configs/react'); | ||
const { concat } = require('eslint-flat-config-utils'); | ||
const configReact = require('./react'); | ||
const pluginReactNative = require('eslint-plugin-react-native'); | ||
const configDefault = require('./configs/default'); | ||
const configTypescript = require('./configs/typescript'); | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
module.exports = [ | ||
configDefault, | ||
...configTypescript, | ||
configReact, | ||
...configReact, | ||
{ | ||
@@ -14,0 +8,0 @@ name: '@eduzz/eslint-config-react-native', |
const configReact = require('./configs/react'); | ||
const { concat } = require('eslint-flat-config-utils'); | ||
const configDefault = require('./configs/default'); | ||
const configTypescript = require('./configs/typescript'); | ||
const configBase = require('./index'); | ||
/** @type import('eslint').Linter.FlatConfig[] */ | ||
module.exports = [configDefault, ...configTypescript, configReact]; | ||
module.exports = [...configBase, configReact, { ignores: ['**/node_modules/', '**/.git/'] }]; |
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
219
11637
+ Added@eslint/js@8.57.0(transitive)
+ Added@humanwhocodes/config-array@0.11.14(transitive)
+ Added@types/estree@1.0.5(transitive)
+ Addedeslint@8.57.0(transitive)
+ Addedeslint-config-flat-gitignore@0.1.8(transitive)
+ Addedfind-up-simple@1.0.0(transitive)
+ Addedparse-gitignore@2.0.0(transitive)
- Removedeslint-flat-config-utils@^0.2.1
- Removed@eslint/js@8.57.1(transitive)
- Removed@humanwhocodes/config-array@0.13.0(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removedeslint@8.57.1(transitive)
- Removedeslint-flat-config-utils@0.2.5(transitive)
- Removedpathe@1.1.2(transitive)