Skip to content

Commit

Permalink
Update linter and editor settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlind committed Mar 19, 2019
1 parent c28e7d4 commit f353ddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 31 deletions.
6 changes: 3 additions & 3 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"default": true,
"MD003": { "style": "setext_with_atx_closed" },
"MD003": { "style": "atx" },
"MD007": { "indent": 4 },
"MD013": { "line_length": 88 },
"no-hard-tabs": true,
"line-length": false,
"blanks-around-headers": false,
"ol-prefix": {"style": "ordered" }
}
}
29 changes: 1 addition & 28 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"editor.wordWrap": "off",

"python.autoComplete.addBrackets": true,
"python.autoComplete.preloadModules": ["numpy", "scipy", "pandas"],

// Linting and formatting
"python.linting.enabled": true,
"python.linting.ignorePatterns": [
".vscode/*.py",
"**/site-packages/**/*.py",
"lemmy/rules.py"
"lemmy/rules/*.py"
],
// whitelist numpy to remove lint errors
"python.linting.pylintArgs": [
Expand All @@ -61,31 +60,5 @@
"python.unitTest.pyTestArgs": [
"--exitfirst",
"--verbose"
],

"cSpell.ignorePaths": [
"requirements.txt",
"**/.vscode",
".env",
"settings.json"
],
"cSpell.enabledLanguageIds": [
"c",
"cpp",
"csharp",
"go",
"handlebars",
"javascript",
"javascriptreact",
"json",
"latex",
"php",
"plaintext",
"python",
"restructuredtext",
"text",
"typescript",
"typescriptreact",
"yml"
]
}

0 comments on commit f353ddb

Please sign in to comment.