-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from matheuslenke/develop
Changing Tonto to modularized projects
- Loading branch information
Showing
294 changed files
with
27,222 additions
and
14,692 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 |
---|---|---|
@@ -1,62 +1,58 @@ | ||
{ | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], | ||
"overrides": [], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"ignorePatterns": ["**/{node_modules,lib,bin}"], | ||
"rules": { | ||
"max-len": [ | ||
"error", | ||
{ | ||
"ignoreStrings": true, | ||
"code": 120, | ||
"tabWidth": 2 | ||
} | ||
], | ||
"overrides": [ | ||
"linebreak-style": ["error", "unix"], | ||
"quotes": ["error", "double"], | ||
"semi": ["error", "always"], | ||
"no-global-assign": "off", | ||
// List of [@typescript-eslint rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules) | ||
"@typescript-eslint/adjacent-overload-signatures": "error", // grouping same method names | ||
"@typescript-eslint/array-type": [ | ||
"error", | ||
{ | ||
// string[] instead of Array<string> | ||
"default": "array-simple" | ||
} | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
"@typescript-eslint/ban-types": "error", // bans types like String in favor of string | ||
"@typescript-eslint/no-inferrable-types": "off", // don't blame decls like "index: number = 0", esp. in api signatures! | ||
"@typescript-eslint/indent": "off", // consistent indentation | ||
"@typescript-eslint/no-explicit-any": "off", // don't use :any type | ||
"@typescript-eslint/no-misused-new": "error", // no constructors for interfaces or new for classes | ||
"@typescript-eslint/no-namespace": "off", // disallow the use of custom TypeScript modules and namespaces | ||
"@typescript-eslint/no-non-null-assertion": "off", // allow ! operator | ||
"@typescript-eslint/no-parameter-properties": "error", // no property definitions in class constructors | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
// disallow Unused Variables | ||
"argsIgnorePattern": "^_" | ||
} | ||
], | ||
"ignorePatterns": [ | ||
"**/{node_modules,lib,bin}" | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
// List of [@typescript-eslint rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules) | ||
"@typescript-eslint/adjacent-overload-signatures": "error", // grouping same method names | ||
"@typescript-eslint/array-type": ["error", { // string[] instead of Array<string> | ||
"default": "array-simple" | ||
}], | ||
"@typescript-eslint/ban-types": "error", // bans types like String in favor of string | ||
"@typescript-eslint/no-inferrable-types": "off", // don't blame decls like "index: number = 0", esp. in api signatures! | ||
"@typescript-eslint/indent": "off", // consistent indentation | ||
"@typescript-eslint/no-explicit-any": "off", // don't use :any type | ||
"@typescript-eslint/no-misused-new": "error", // no constructors for interfaces or new for classes | ||
"@typescript-eslint/no-namespace": "off", // disallow the use of custom TypeScript modules and namespaces | ||
"@typescript-eslint/no-non-null-assertion": "off", // allow ! operator | ||
"@typescript-eslint/no-parameter-properties": "error", // no property definitions in class constructors | ||
"@typescript-eslint/no-unused-vars": ["warn", { // disallow Unused Variables | ||
"argsIgnorePattern": "^_" | ||
}], | ||
"@typescript-eslint/no-var-requires": "error", // use import instead of require | ||
"@typescript-eslint/prefer-for-of": "error", // prefer for-of loop over arrays | ||
"@typescript-eslint/prefer-namespace-keyword": "error", // prefer namespace over module in TypeScript | ||
"@typescript-eslint/triple-slash-reference": "error", // ban /// <reference />, prefer imports | ||
"@typescript-eslint/type-annotation-spacing": "error" // consistent space around colon ':' | ||
} | ||
"@typescript-eslint/no-var-requires": 0, // use import instead of require | ||
"@typescript-eslint/prefer-for-of": "error", // prefer for-of loop over arrays | ||
"@typescript-eslint/prefer-namespace-keyword": "error", // prefer namespace over module in TypeScript | ||
"@typescript-eslint/triple-slash-reference": "error", // ban /// <reference />, prefer imports | ||
"@typescript-eslint/type-annotation-spacing": "error" // consistent space around colon ':' | ||
} | ||
} |
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 |
---|---|---|
|
@@ -12,3 +12,7 @@ coverage | |
**/generated/*.json | ||
|
||
.yarn | ||
|
||
packages/tonto-vscode/data/tonto-tmLanguage.json | ||
|
||
**/tonto_dependencies |
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 @@ | ||
*/**/out | ||
*/**/lib | ||
node_modules | ||
*/**/node_modules | ||
docs | ||
examples | ||
.vscode |
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,8 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": false, | ||
"plugins": ["prettier-plugin-eslint"], | ||
"printWidth": 120 | ||
} |
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,14 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "../packages/tonto" | ||
}, | ||
{ | ||
"path": "../packages/tonto-vscode" | ||
}, | ||
{ | ||
"path": "../packages/tonto-package-manager" | ||
} | ||
], | ||
"settings": {} | ||
} |
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
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,3 @@ | ||
{ | ||
"prettier.prettierPath": "./node_modules/prettier" | ||
} |
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
Oops, something went wrong.