Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnault committed Nov 6, 2020
1 parent 1423fba commit 87b02ff
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.Trashes
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true,
}
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# eslint-config-apprentx
# @apprentx/eslint-config

Apprentx's eslint config

## Installation

Install the [npm package](https://www.npmjs.com/package/@apprentx/eslint-config):

`npm i @apprentx/eslint-config -D`

Extend your `.eslintrc` config with:

```json
{
"extends": "@apprentx/eslint-config"
}
```
15 changes: 15 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
plugins: ["@typescript-eslint"],
parser: "@typescript-eslint/parser",
env: {
es6: true,
},
rules: {
"no-return-await": "error",
},
};
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "@apprentx/eslint-config",
"version": "1.0.0",
"description": "Apprentx's eslint config",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/apprentx/eslint-config.git"
},
"keywords": [
"apprentx",
"eslint",
"config",
"eslintconfig",
"lint"
],
"author": "Apprentx",
"license": "MIT",
"bugs": {
"url": "https://github.com/apprentx/eslint-config/issues"
},
"homepage": "https://github.com/apprentx/eslint-config#readme",
"peerDependencies": {
"eslint": ">= 7"
}
}

0 comments on commit 87b02ff

Please sign in to comment.