forked from folke/devmoji
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
138 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:jest/recommended", | ||
"plugin:jest/style", | ||
"plugin:import/errors", | ||
"plugin:import/warnings", | ||
"plugin:import/typescript", | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
], | ||
env: { | ||
node: true, | ||
browser: false, | ||
jest: true | ||
}, | ||
plugins: ["@typescript-eslint", "prettier", "jest", "import"], | ||
parserOptions: { | ||
ecmaVersion: 2019, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module", // Allows for the use of imports | ||
project: "./tsconfig.json", | ||
impliedStrict: true | ||
}, | ||
rules: { | ||
"prettier/prettier": "warn", | ||
"lines-between-class-members": [ | ||
"error", | ||
"always", | ||
{ exceptAfterSingleLine: true } | ||
], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"jest/expect-expect": [ | ||
"error", | ||
{ | ||
assertFunctionNames: ["expect", "request.get.expect"] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 80 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# `devmoji` | ||
|
||
> TODO: description | ||
## Usage | ||
|
||
``` | ||
const devmoji = require('devmoji'); | ||
// TODO: DEMONSTRATE API | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
preset: "ts-jest", | ||
testEnvironment: "node", | ||
testPathIgnorePatterns: ["/lib/", "/node_modules/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "devmoji", | ||
"version": "0.0.0", | ||
"description": "Enhance your conventional commits with gitmoji", | ||
"keywords": [ | ||
"gitmoji", | ||
"emoji", | ||
"git-commit", | ||
"commitlint" | ||
], | ||
"author": "Folke Lemaitre <folke.lemaitre@gmail.com>", | ||
"homepage": "https://github.com/folke/devmoji#readme", | ||
"license": "MIT", | ||
"main": "lib/devmoji.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"publishConfig": { | ||
"registry": "https://registry.yarnpkg.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/folke/devmoji.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": { | ||
"commander": "^4.1.0", | ||
"node-emoji": "^1.10.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.25", | ||
"@types/node": "^13.1.6", | ||
"@types/node-emoji": "^1.8.1", | ||
"@typescript-eslint/eslint-plugin": "^2.13.0", | ||
"@typescript-eslint/parser": "^2.13.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"eslint-plugin-jest": "^23.4.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.19.1", | ||
"rimraf": "^3.0.0", | ||
"ts-jest": "^24.3.0", | ||
"ts-node": "^8.6.1", | ||
"typescript": "^3.7.4" | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"noEmit": false, | ||
"outDir": "lib", | ||
"rootDir": "src", | ||
"skipLibCheck": false | ||
}, | ||
"extends": "./tsconfig.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"allowJs": true, | ||
"checkJs": true, | ||
"noEmit": true, | ||
"importHelpers": true, | ||
"module": "commonjs", | ||
"strict": true, | ||
"target": "ES2015", | ||
"plugins": [] | ||
} | ||
} |