Include tsx files in linting rules
This commit is contained in:
parent
097a283ace
commit
62a07fa5b7
4
.arclint
4
.arclint
@ -3,11 +3,11 @@
|
|||||||
"prettier": {
|
"prettier": {
|
||||||
"type": "prettier",
|
"type": "prettier",
|
||||||
"bin": "./node_modules/.bin/prettier",
|
"bin": "./node_modules/.bin/prettier",
|
||||||
"include": ["(\\.[tj]s$)", "(\\.s?css$)"]
|
"include": ["(\\.[tj]sx?$)", "(\\.s?css$)"]
|
||||||
},
|
},
|
||||||
"eslint": {
|
"eslint": {
|
||||||
"type": "eslint",
|
"type": "eslint",
|
||||||
"include": ["(src/.*\\.ts$)", "(src/.*\\.js$)"]
|
"include": ["(src/.*\\.tsx?$)", "(src/.*\\.js$)"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user