Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xiphe/js-dotfiles

Opinionated dotfiles for new JS projects
https://github.com/xiphe/js-dotfiles

airbnb editor eslint gitignore init js-dotfiles miminalistic nodejs package-json

Last synced: 1 day ago
JSON representation

Opinionated dotfiles for new JS projects

Awesome Lists containing this project

README

        

# JS dotfiles

Opinionated minimal starter kit for new nodejs projects.

### Quick setup for new Node.js projects

```
git clone [email protected]:Xiphe/js-dotfiles.git my-project-name &&
cd my-project-name &&
rm -rf .git &&
rm README.md &&
git init &&
git add . &&
git commit -m'chore(js-dotfiles): initiate dotfiles' -m'https://github.com/Xiphe/js-dotfiles' &&
npm init &&
npm install --save-dev --save-exact eslint-config-airbnb-base eslint-plugin-import eslint-config-prettier eslint-plugin-prettier prettier eslint &&
git add . &&
git commit -m'chore(package): add package.json'
```

### Old custom eslint Version

_deprecated_

```
git clone [email protected]:Xiphe/js-dotfiles.git js-dotfiles-tmp
cd js-dotfiles-tmp
git reset d3702c42ce4c591047cc35553ae5a31918ff0ab1 --hard
rm -rf .git
rm README.md
git init
git add .
git commit -m'initiate dotfiles' -m'https://github.com/Xiphe/js-dotfiles'
cd ..
mv js-dotfiles-tmp my-project-name
```

### Old JSHint + JSCS Version

_deprecated_

```
git clone [email protected]:Xiphe/js-dotfiles.git js-dotfiles-tmp
cd js-dotfiles-tmp
git reset 408b27a6696662a221537496ef7f208c9c6bf241 --hard
rm -rf .git
rm README.md
git init
git add .
git commit -m'initiate dotfiles' -m'https://github.com/Xiphe/js-dotfiles'
cd ..
mv js-dotfiles-tmp my-project-name
```

## LICENSE

> The MIT License
>
> Copyright (c) 2015-2018 Hannes Diercks
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.