Socket
Socket
Sign inDemoInstall

@eduzz/eslint-config

Package Overview
Dependencies
Maintainers
6
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eduzz/eslint-config - npm Package Compare versions

Comparing version 2.0.0-beta.6 to 2.0.0-beta.7

ignores.js

1

configs/default.js

@@ -21,3 +21,2 @@ const pluginImport = require('eslint-plugin-import');

},
ignores: ['node_modules'],
rules: {

@@ -24,0 +23,0 @@ ...pluginPrettier.configs.recommended.rules,

@@ -1,12 +0,9 @@

const gitIgnore = require('eslint-config-flat-gitignore');
const configDefault = require('./configs/default');
const configTypescript = require('./configs/typescript');
const ignores = require('./ignores');
/** @type import('eslint').Linter.FlatConfig[] */
module.exports = [
configDefault,
...configTypescript,
gitIgnore(),
{ ignores: ['**/.expo/**', '**/node_modules/**', '**/.git/**'] }
];
module.exports = {
ignores,
/** @type import('eslint').Linter.FlatConfig[] */
configs: [configDefault, ...configTypescript]
};
{
"name": "@eduzz/eslint-config",
"private": false,
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.7",
"keywords": [

@@ -30,3 +30,2 @@ "eduzz",

"eslint": "^8",
"eslint-config-flat-gitignore": "^0.1.5",
"eslint-config-prettier": "^9.1.0",

@@ -40,2 +39,3 @@ "eslint-plugin-eslint-plugin": "^5.5.0",

"eslint-plugin-unused-imports": "^3.1.0",
"parse-gitignore": "^2.0.0",
"prettier": "^3.2.5",

@@ -42,0 +42,0 @@ "prettier-plugin-tailwindcss": "^0.5.13",

@@ -1,17 +0,22 @@

const configReact = require('./react');
const { configs } = require('./react');
const pluginReactNative = require('eslint-plugin-react-native');
/** @type import('eslint').Linter.FlatConfig[] */
module.exports = [
...configReact,
{
name: '@eduzz/eslint-config-react-native',
plugins: {
'react-native': pluginReactNative
},
rules: {
'react-native/no-inline-styles': ['warn'],
'react-native/no-unused-styles': ['error']
const ignores = require('./ignores');
module.exports = {
ignores,
/** @type import('eslint').Linter.FlatConfig[] */
configs: [
...configs,
{
name: '@eduzz/eslint-config-react-native',
plugins: {
'react-native': pluginReactNative
},
rules: {
'react-native/no-inline-styles': ['warn'],
'react-native/no-unused-styles': ['error']
}
}
}
];
]
};
const configReact = require('./configs/react');
const configBase = require('./index');
const ignores = require('./ignores');
const { configs } = require('./index');
/** @type import('eslint').Linter.FlatConfig[] */
module.exports = [...configBase, configReact, { ignores: ['**/node_modules/', '**/.git/'] }];
module.exports = {
ignores,
/** @type import('eslint').Linter.FlatConfig[] */
configs: [...configs, configReact]
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc