3.3.0 • Published 8 months ago

lintier v3.3.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 months ago

Lintier

E2E Test Status Version Downloads Last commit

CLI to quickly setup ESLint & Prettier in TypeScript projects. Because linting and formatting are a must, but setup is a pain.

npm.io

Lintier works in React, Node, and other Typescript projects. It lets you install stylelint for linting & formatting css, and lint-staged for linting pre-commit. Lintier will install the dependencies, create the config files, and add scripts to your package.json file.

Lintier's goal is to provide a minimal foundation, letting you further customize the setup to fit your project's needs.

Update for ESLint 9

As of Fall 2024, the community is still updating various packages to be compatible with ESLint 9. This version of lintier disables currently incompatible packages like the airbnb styleguide.

Usage

Just run npx lintier@latest in your project's directory. Linter will start in interactive mode, letting you choose your project type and configuration.

Alternately, you can specify any of these options to skip the interactive prompts:

OptionsDescription
-r, --reactinstall react dependencies
-n, --nodeinstall node dependencies
-s, --styleLintinstall stylelint
-c, --sassinstall sass stylelint config
-l, --lintStagedinstall lint-staged and simple-git-hooks
-p, --pinneduse pinned dependency versions that are known to work
--helpdisplay help for command
-V, --versionoutput the version number

Troubleshooting and Pinned Versions

By default, lintier installs the latest dependency versions, which means that breaking changes in those dependencies can break lintier. A weekly automated end-to-end test helps catch these changes.

If the latest dependency versions aren't working, you can fall back to the last-known working versions by passing the -p flag. (Interactive mode still starts if this is the only flag passed). The list of known working versions is updated after each successful weekly test run.

If you spot trouble, please open an issue in the GitHub repo.

3.3.0

8 months ago

3.2.0

9 months ago

3.1.0

9 months ago

3.0.0

9 months ago

2.1.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.4.0

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago