Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit adee7f6

Browse files
committedJul 15, 2019
Initial commit
0 parents  commit adee7f6

32 files changed

+11997
-0
lines changed
 

‎.editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[{composer.json,package.json,tslint.json,tsconfig.json,tsconfig.scripts.json,.stylelintrc}]
15+
indent_size = 2

‎.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.idea
2+
/.vscode
3+
/node_modules
4+
/build
5+
6+
npm-debug.log
7+
yarn-error.log
8+
9+
/reports
10+
!/reports/.gitkeep

‎.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/helpers/__tests__/fixtures/test.module.less

‎README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# typescript-plugin-css-module-types
2+
3+
Typescript plugin to get intellisense and validation for SCSS imports as [CSS Modules](https://github.com/css-modules/css-modules).
4+
5+
# Thanks
6+
7+
Thanks to Microsoft and there nice [Language-Service-Plugin documentation](https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin).
8+
9+
- motivated by [facebook/create-react-app#5677](https://github.com/facebook/create-react-app/issues/5677)
10+
- inspired by [timothykang/css-module-types](https://github.com/timothykang/css-module-types)

‎jest.config.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
module.exports = {
3+
preset: "ts-jest",
4+
globals: {
5+
"ts-jest": {
6+
diagnostics: false
7+
}
8+
},
9+
collectCoverage: true,
10+
collectCoverageFrom: [
11+
"src/**/*.ts",
12+
"!src/**/*.d.ts",
13+
],
14+
coverageDirectory: "<rootDir>/reports/",
15+
coverageReporters: [
16+
"text-summary",
17+
"html"
18+
],
19+
testEnvironment: "node",
20+
};

0 commit comments

Comments
 (0)
This repository has been archived.