0.2.1 • Published 4 years ago

@venturalp/update-linters v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Update linters

Purpose

With the intention to provide a single source of linters patterns for, initially, React projects, and to be able to update this patterns when it's necessary.

Using create-react-app template option with the cra-template-venturalp one can already run a package.json script updateLinter with the default options, but nothing stops you from change it to use some options (listed bellow)

Options

Option1Description
--VSCODE, --vscfalse by default:this option indicates to use .vscode settings into the update process
--ESLINT, --esltrue by default:this option indicates to use .eslintrc.js settings into the update process
--PRETTIER, --ptrtrue by default:this option indicates to use .prettierrc.js settings into the update process
--EDITOR, --edtfalse by default:this option indicates to use .editorconfig settings into the update process
--BABEL, --babeltrue by default:this option indicates to use .babelrc settings into the update process

1Use --no prefix to set an option as false. E.g.: npx @venturalp/update-linters --no-ESLINT

Attention

All the devDependencies will be placed into your package.json if any of them are already there, they will be replaced, but none of them will be removed, don’t worry.

You may loose some of your eslint settings, depending on what you got as your current eslint settings

Usage

On terminal, go to your project path, then run:

npx @venturalp/update-linters [OPTIONS]

TODO

(feel free to do a pull request)

  • Option to define what kinds of dependencies it should install
  • Option to define a mainSource/template to use instead of its own
  • Option to use a third party library to install IDE extensions (VSCode, VIM, WebStorm, IntelliJ, Atom)
  • Implement deep compare on source and target files
0.2.1

4 years ago

0.2.0

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago