0.4.3 • Published 12 months ago

@tree-company/eslint-config v0.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@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.

0.4.3

12 months ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.2

1 year ago

0.3.0

2 years ago

0.3.1

2 years ago

0.2.1

2 years ago