@sequencemedia/eslint-config-typescript 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/recommended.mjs +2 -1
- package/index.mjs +4 -3
- package/package.json +1 -1
- package/test/merge.spec.mjs +2 -1
package/configs/recommended.mjs
CHANGED
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parser
|
|
3
3
|
} from 'typescript-eslint'
|
|
4
|
-
import recommended from '
|
|
5
|
-
import typescript from '
|
|
4
|
+
import recommended from './configs/recommended.mjs'
|
|
5
|
+
import typescript from './configs/typescript.mjs'
|
|
6
6
|
|
|
7
7
|
export const configs = {
|
|
8
8
|
recommended,
|
|
@@ -15,7 +15,8 @@ export default [
|
|
|
15
15
|
languageOptions: {
|
|
16
16
|
parser,
|
|
17
17
|
parserOptions: {
|
|
18
|
-
projectService: true
|
|
18
|
+
projectService: true,
|
|
19
|
+
project: 'tsconfig.json'
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
22
|
linterOptions: {
|
package/package.json
CHANGED
package/test/merge.spec.mjs
CHANGED