Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update vscode-uri to 3.x * chore: upgrade to typescript 4.4.3 * chore: update lock file stylelint is now at 13.7.2 * chore: update eslint config * chore: update vscode types * chore: remove unnecessary option passed to eslint * chore: have dependabot ignore p-wait-for major ver
- Loading branch information
1 parent
788292f
commit 439c102
Showing
10 changed files
with
3,721 additions
and
3,713 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,29 +1,19 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: ['stylelint', 'prettier'], | ||
/** @type {import('eslint').Linter.Config} */ | ||
const config = { | ||
extends: ['stylelint', 'plugin:node/recommended', 'prettier'], | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'script', | ||
}, | ||
env: { | ||
node: true, | ||
es2020: true, | ||
}, | ||
rules: { | ||
'node/no-missing-require': [ | ||
'error', | ||
{ | ||
allowModules: ['vscode'], | ||
}, | ||
], | ||
'node/no-unpublished-require': [ | ||
'error', | ||
{ | ||
allowModules: ['p-wait-for'], | ||
}, | ||
], | ||
'node/no-unsupported-features/node-builtins': [ | ||
'error', | ||
{ | ||
version: '>=14.16.0', | ||
ignores: [], | ||
}, | ||
], | ||
'node/no-missing-require': ['error', { allowModules: ['vscode'] }], | ||
}, | ||
}; | ||
|
||
module.exports = config; |
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.