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.5 to 2.0.0-beta.6

4

.prettierrc.js

@@ -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/'] }];
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