Last active
December 11, 2019 19:07
-
-
Save rsurjano/c525c31d39404e2edf172e04fc480fd7 to your computer and use it in GitHub Desktop.
Revisions
-
rsurjano revised this gist
Dec 11, 2019 . 1 changed file with 21 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ { "eslint.alwaysShowStatus": true, "eslint.autoFixOnSave": true, "stylelint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "autoFix": true, "language": "html" }, { "autoFix": true, "language": "typescript" }, { "autoFix": true, "language": "typescriptreact" } ], } -
rsurjano revised this gist
Dec 11, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ "@typescript-eslint/eslint-plugin": "^2.3.1", "@typescript-eslint/parser": "^2.3.1", "eslint": "^6.4.0", "eslint-config-prettier": "^6.3.0", "eslint-config-stylelint": "^11.1.0", "eslint-plugin-prettier": "^3.1.1", -
rsurjano created this gist
Dec 11, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ module.exports = { extends: [ 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier', 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', plugins: ['simple-import-sort', '@typescript-eslint', 'prettier'], env: { browser: true, node: true, es6: true, jasmine: true, jest: true, }, settings: { 'import/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx', 'jsx'], }, 'import/resolver': { typescript: {}, }, }, parserOptions: { ecmaVersion: 2018, sourceType: 'module', }, rules: { 'simple-import-sort/sort': 'error', 'sort-imports': 'off', 'import/order': 'off', 'prettier/prettier': ['error', { singleQuote: true }], '@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/indent': 'off', '@typescript-eslint/no-empty-function': 'off', // disable following rules after MVP '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/explicit-function-return-type': 'off' }, };