File tree Expand file tree Collapse file tree 3 files changed +18
-24
lines changed
Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 11import tsLint from 'typescript-eslint'
22import stylisticLint from '@stylistic/eslint-plugin-ts'
33
4- export default tsLint . config (
5- {
4+ const files = [ 'src/**/*.ts' , 'test/**/*.ts' ]
5+
6+ export default tsLint . config ( {
67 ignores : [
7- 'out/*' ,
8- 'node_modules/*' ,
98 '**/generated/**' ,
9+ '**/*.{js,cjs,mjs}'
1010 ]
1111 } ,
12- //eslintJs.configs.recommended,
13- tsLint . configs . recommendedTypeChecked ,
14- stylisticLint . configs . all ,
15- /*{
16-
17- }*/
12+ tsLint . configs . recommendedTypeChecked . map ( ( config ) => {
13+ return {
14+ ...config ,
15+ files
16+ }
17+ } ) ,
18+ {
19+ ...stylisticLint . configs . all ,
20+ files
21+ } ,
1822 {
23+ files,
1924 languageOptions : {
2025 parserOptions : {
2126 project : [ './tsconfig.json' ] ,
Original file line number Diff line number Diff line change 1616 "url" : " https://github.com/lstreckeisen/context-mapper-language-server.git"
1717 },
1818 "scripts" : {
19- "build" : " tsc -b tsconfig.src. json" ,
20- "lint" : " eslint src test --ext ts " ,
21- "lint:fix" : " eslint src test --ext ts --fix" ,
19+ "build" : " tsc -b tsconfig.json" ,
20+ "lint" : " eslint" ,
21+ "lint:fix" : " eslint --fix" ,
2222 "langium:generate" : " langium generate" ,
2323 "langium:generate:production" : " langium generate --mode=production" ,
2424 "bundle:language-server" : " npx ncc build out/language/main.js -o cml-ls" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments