Socket
Book a DemoInstallSign in
Socket

@tree-company/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tree-company/eslint-config

Default configurations for eslint

latest
npmnpm
Version
0.5.0
Version published
Weekly downloads
251
-46.48%
Maintainers
2
Weekly downloads
 
Created
Source

@tree-company/stylelint-config

How to install

Install using yarn add -D @tree-company/eslint-config eslint prettier.

How to use

You can add our base eslint config in the following way:

// eslint.config.js
import config from "./eslint-config/index.js";

export default config.configs.default;

If you work with react:

// eslint.config.js
import config from "./eslint-config/index.js";

export default config.configs.react;

To run eslint, you'll just need eslint . or eslint . --fix.

Ignores files

If you need to ignore specific files (for example, the build output)

// eslint.config.js
import config from "./eslint-config/index.js";

export default [
  ...config.configs.default,
  {
    ignores: [
      "dist/"
    ],
  },
];

Versioning

Except for patch versions, all packages in from @tree-company/linting-config are released at the same time, with the same version.

FAQs

Package last updated on 18 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts