Skip to content

Commit 019cc25

Browse files
Merge pull request #23 from toyokumo/develop
v2.1.3
2 parents 0205ff2 + 9b2cdcd commit 019cc25

File tree

7 files changed

+14
-28
lines changed

7 files changed

+14
-28
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [2.1.3](https://github.com/toyokumo/eslint-config/compare/v2.1.2...v2.1.3) (2024-12-11)
6+
57
### [2.1.2](https://github.com/toyokumo/eslint-config/compare/v2.1.1...v2.1.2) (2024-08-06)
68

79
### [2.1.1](https://github.com/toyokumo/eslint-config/compare/v2.1.0...v2.1.1) (2024-08-05)

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ module.exports = [
112112
...toyokumoEslint.configs.next,
113113
...toyokumoEslint.configs.tailwindcss,
114114
{
115-
languageOptions: {
116-
parserOptions: {
117-
project: 'packages/next/tsconfig.json',
118-
},
119-
},
120115
settings: {
121116
'import/resolver': {
122117
typescript: {
@@ -141,11 +136,6 @@ module.exports = [
141136
...toyokumoEslint.configs.react,
142137
...toyokumoEslint.configs.tailwindcss,
143138
{
144-
languageOptions: {
145-
parserOptions: {
146-
project: 'packages/ui-component/tsconfig.json',
147-
},
148-
},
149139
settings: {
150140
'import/resolver': {
151141
typescript: {
@@ -164,4 +154,13 @@ module.exports = [
164154
}),
165155
...toyokumoEslint.configs.prettier,
166156
];
167-
```
157+
```
158+
159+
# Contribution
160+
161+
```bash
162+
pnpm install
163+
pnpm -C tests/rules/next install
164+
pnpm -C tests/rules/react install
165+
pnpm run test
166+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toyokumo/eslint-config",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"engines": {
55
"node": ">=18"
66
},

rules/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = config({
1717
ecmaFeatures: { modules: true },
1818
ecmaVersion: 'latest',
1919
sourceType: 'module',
20-
project: './tsconfig.json',
20+
projectService: true,
2121
},
2222
globals: {
2323
...globals.browser,

tests/rules/next/eslint.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ module.exports = [
1313
...toyokumoEsLint.configs.next,
1414
...toyokumoEsLint.configs.tailwindcss,
1515
{
16-
languageOptions: {
17-
parserOptions: {
18-
project: path.resolve(__dirname, 'tsconfig.json'),
19-
},
20-
},
2116
settings: {
2217
'import/resolver': {
2318
typescript: {

tests/rules/react/eslint.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ module.exports = [
1111
...toyokumoEsLint.configs.ts,
1212
...toyokumoEsLint.configs.react,
1313
{
14-
languageOptions: {
15-
parserOptions: {
16-
project: path.resolve(__dirname, 'tsconfig.json'),
17-
},
18-
},
1914
settings: {
2015
'import/resolver': {
2116
typescript: {

tests/rules/typescript/eslint.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ module.exports = [
99
extends: [
1010
...toyokumoEsLint.configs.ts,
1111
{
12-
languageOptions: {
13-
parserOptions: {
14-
project: path.resolve(__dirname, 'tsconfig.json'),
15-
},
16-
},
1712
settings: {
1813
'import/resolver': {
1914
typescript: {

0 commit comments

Comments
 (0)