forked from ansible/ansible-language-server
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove custom eslint/prettier single quote configuration (ansible#262)
* Remove custom prettier singleQuote option Fixes: ansible/team-devtools#28 * chore: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7f16994
commit 592c597
Showing
41 changed files
with
967 additions
and
969 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
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 |
---|---|---|
|
@@ -21,4 +21,3 @@ overrides: | |
# compatibility with markdownlint | ||
proseWrap: always | ||
semi: true | ||
singleQuote: true |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env node | ||
|
||
require('../out/server/src/server.js'); | ||
require("../out/server/src/server.js"); |
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 |
---|---|---|
@@ -1,34 +1,34 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
parser: "@typescript-eslint/parser", | ||
env: { | ||
node: true, | ||
es6: true, | ||
}, | ||
parserOptions: { | ||
sourceType: 'module', | ||
sourceType: "module", | ||
}, | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
plugins: ["@typescript-eslint", "prettier"], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier', | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
], | ||
rules: { | ||
'prettier/prettier': 'error', | ||
'@typescript-eslint/no-use-before-define': [ | ||
'error', | ||
"prettier/prettier": "error", | ||
"@typescript-eslint/no-use-before-define": [ | ||
"error", | ||
{ functions: false, classes: false }, | ||
], | ||
'@typescript-eslint/no-unused-vars': ['warn'], | ||
'@typescript-eslint/explicit-function-return-type': [ | ||
"@typescript-eslint/no-unused-vars": ["warn"], | ||
"@typescript-eslint/explicit-function-return-type": [ | ||
1, | ||
{ allowExpressions: true }, | ||
], | ||
'eol-last': ['error'], | ||
'space-infix-ops': ['error', { int32Hint: false }], | ||
'no-multi-spaces': ['error', { ignoreEOLComments: true }], | ||
'keyword-spacing': ['error'], | ||
"eol-last": ["error"], | ||
"space-infix-ops": ["error", { int32Hint: false }], | ||
"no-multi-spaces": ["error", { ignoreEOLComments: true }], | ||
"keyword-spacing": ["error"], | ||
}, | ||
}; |
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
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
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.