Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 3e0134e

Browse files
committed
initial commit
1 parent 44c20be commit 3e0134e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+7450
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/coverage
2+
/dist
3+
/__tests__/fixtures

.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
root: true,
3+
parser: "@typescript-eslint/parser",
4+
plugins: ["@typescript-eslint"],
5+
extends: [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/recommended",
8+
"prettier",
9+
],
10+
env: {
11+
node: true,
12+
},
13+
};

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
/docs/directive.md [email protected]
3+
/processors/directive.ts [email protected]

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules
2+
/coverage
3+
/dist
4+
yarn-error.log

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage
2+
dist
3+
/__tests__/fixtures

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

Lines changed: 42 additions & 2 deletions

__tests__/.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
extends: ["../.eslintrc.js", "plugin:jest/all"],
3+
plugins: ["jest"],
4+
env: {
5+
"jest/globals": true,
6+
},
7+
rules: {
8+
"jest/no-hooks": "off",
9+
},
10+
};

__tests__/fixtures/a/a.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* Copyright 2021 Canva Inc. All Rights Reserved. */
2+
3+
@import "./c.css";
4+
@value x from './b.css';
5+
6+
.x {
7+
background: url("./a.png");
8+
}

0 commit comments

Comments
 (0)