Skip to content

Instantly share code, notes, and snippets.

@wreulicke
Created September 9, 2017 20:13
Show Gist options
  • Save wreulicke/b7369cb17ef867d625c944f8ef5be1bb to your computer and use it in GitHub Desktop.
Save wreulicke/b7369cb17ef867d625c944f8ef5be1bb to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"es6": true
},
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"globals": {
"deflate": true
},
"rules": {
"prefer-const": "error",
"no-var": "error",
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"prefer-spread": "error",
"no-console": "off",
"no-undefined": "error",
"dot-notation": "error",
"no-extra-bind": "error",
"no-multi-spaces": "error",
"no-useless-return": "error",
"wrap-iife": "error",
"no-lonely-if": "error",
"no-spaced-func":"error",
"space-in-parens":"error",
"space-infix-ops":"error",
"space-before-function-paren":"error"
}
}
{
"name": "pegmatite",
"version": "1.0.0",
"description": "Pegmatite is Google Chrome extension that replace PlantUML code blocks into preview images.",
"private": true,
"scripts": {
"build": "tsc",
"format": "eslint pegmatite --fix",
"lint": "eslint pegmatite",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dai0304/pegmatite.git"
},
"keywords": [],
"author": "dai0304",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dai0304/pegmatite/issues"
},
"homepage": "https://github.com/dai0304/pegmatite#readme",
"devDependencies": {
"@types/jest": "^19.2.2",
"eslint": "^3.19.0",
"jest": "^19.0.2",
"ts-jest": "^19.0.10",
"typescript": "^2.2.2",
"typescript-eslint-parser": "^2.1.0"
},
"jest": {
"moduleFileExtensions": [
"ts", "js"
],
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"<rootDir>/pegmatite/__tests__/*.spec.ts?(x)"
],
"collectCoverage": true,
"collectCoverageFrom": [
"pegmatite/*.ts?(x)"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment