Skip to content

Commit

Permalink
fix(tsconfig): fix bug with tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
slheavner committed Mar 7, 2020
1 parent d36358e commit 8c654ac
Show file tree
Hide file tree
Showing 16 changed files with 5,861 additions and 778 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
coverage
assets
coverage
.DS_Store
node_modules
__snapshots__
.vscode
.idea
dist
dist
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest",
"skipFiles": [
"<node_internals>/**"
],
"args": [
"-i"
],
"internalConsoleOptions": "openOnSessionStart",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceRoot}/dist/**/*"
],
}
]
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ $ npm install eslint-plugin-roku --save-dev
{
"extends": "plugin:roku/recommended",
"rules": {
"roku/no-print": "warn",
"roku/no-print": "error",
"roku/no-stop": "warn",
"roku/sub-to-function": "off",
"roku/function-no-return": "off"
"roku/sub-to-function": "warn",
"roku/function-no-return": "warn",
"roku/no-unused-params": "warn",
"roku/function-no-return-type": "warn",
"roku/function-name-camelcase": "warn"
}
}
```
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"license": "MIT",
"name": "eslint-plugin-roku",
"repository": "git@github.com:RokuRoad/eslint-plugin-roku.git",
"version": "1.0.1",
"version": "1.3.1",
"description": "The ESLint custom plugin with rules and parser for .brs files",
"keywords": [
"eslint",
Expand Down Expand Up @@ -35,13 +35,13 @@
"@roku-road/bright": "1.2.11"
},
"devDependencies": {
"@types/jest": "23.3.3",
"@types/eslint": "4.16.3",
"@types/jest": "23.3.3",
"@types/node": "^11.9.0",
"eslint": "5.6.0",
"jest": "23.6.0",
"ts-jest": "23.10.2",
"semantic-release": "15.9.16",
"ts-jest": "23.10.2",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "3.0.3",
Expand Down
12 changes: 12 additions & 0 deletions sample/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "plugin:roku/recommended",
"rules": {
"roku/no-print": "warn",
"roku/no-stop": "warn",
"roku/sub-to-function": "warn",
"roku/function-no-return": "warn",
"roku/no-unused-params": "warn",
"roku/function-no-return-type": "warn",
"roku/function-name-camelcase": "warn"
}
}
7 changes: 7 additions & 0 deletions sample/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"eslint.validate": [
"brighterscript"
],
"npm.packageManager": "yarn",
"eslint.packageManager": "yarn"
}
Loading

0 comments on commit 8c654ac

Please sign in to comment.