Skip to content

Commit

Permalink
feat(eslint): eslint, prettier, standard-version & commitzen configur…
Browse files Browse the repository at this point in the history
…ation

EX-2050
  • Loading branch information
guillermo-cacheda-kr authored and luismmdev committed Aug 3, 2020
1 parent 302e8f2 commit d1d809f
Show file tree
Hide file tree
Showing 15 changed files with 8,639 additions and 4,731 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
shims-tsx.d.ts
shims-vue.d.ts
jest.setup.ts
**/*.js
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": ["plugin:@empathy/x/all"] }
29 changes: 0 additions & 29 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main.ts
4 changes: 4 additions & 0 deletions .versionrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
header: '# X Components Archetype',
...require('@empathy/eslint-plugin-x/standard-version-config')
}
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# X Components Archetype

Welcome to the X Components Archetype
Welcome to the X Components Archetype

## What is this repository for?

The purpose of this repository is to be the starting point to a customer setup using the X Components.
Please take a look at the [documentation](./docs/index.md).
The purpose of this repository is to be the starting point to a customer setup using the X
Components. Please take a look at the [documentation](./docs/index.md).

This repository uses [Standard Version](https://github.com/conventional-changelog/standard-version)
for the versioning. Keep this in mind when you contribute to this project. Also remember to change
the `header` variable in the `.vesionrc.js` file with the client's name if needed.

If you want to contribute to this project please keep in mind that it uses
[Conventional Commits](https://www.conventionalcommits.org/) for its commit messages and
[commitizen](https://github.com/commitizen/cz-cli) as helping tool to generate the commits. Whenever
you want to create a commit, run `npm run commit` and the commitizen wizard will guide you in
writing the commit message.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript'
}
};
Loading

0 comments on commit d1d809f

Please sign in to comment.