add project service config
All checks were successful
Build ESLint Config and Release / build-and-release (push) Successful in 2s
All checks were successful
Build ESLint Config and Release / build-and-release (push) Successful in 2s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sebastianbrenner/eslint-config",
|
"name": "@sebastianbrenner/eslint-config",
|
||||||
"version": "1.1.2",
|
"version": "1.1.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ export default [
|
|||||||
...tseslint.configs.recommendedTypeChecked.map(config => ({
|
...tseslint.configs.recommendedTypeChecked.map(config => ({
|
||||||
...config,
|
...config,
|
||||||
files: ["**/*.ts", "**/*.tsx"],
|
files: ["**/*.ts", "**/*.tsx"],
|
||||||
|
languageOptions: {
|
||||||
|
...config.languageOptions,
|
||||||
|
parserOptions: {
|
||||||
|
projectService: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
})),
|
})),
|
||||||
|
|
||||||
/* React */
|
/* React */
|
||||||
|
|||||||
Reference in New Issue
Block a user