-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathscss-syntax.js
More file actions
42 lines (35 loc) · 1.17 KB
/
scss-syntax.js
File metadata and controls
42 lines (35 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* @fileoverview SCSS syntax for CSSTree.
* @author Nicholas C. Zakas
*/
//-----------------------------------------------------------------------------
// imports
//-----------------------------------------------------------------------------
import * as ScssVariable from "./scss/scss-variable.js";
import * as ScssDeclaration from "./scss/scss-declaration.js";
import * as ScssStyleSheet from "./scss/scss-stylesheet.js";
import * as ScssValue from "./scss/scss-value.js";
import * as ScssSelector from "./scss/scss-selector.js";
import * as ScssPlaceholderSelector from "./scss/scss-placeholder-selector.js";
//-----------------------------------------------------------------------------
// Type Definitions
//-----------------------------------------------------------------------------
/**
* @import { SyntaxConfig } from "@eslint/css-tree";
*/
/** @type {Partial<SyntaxConfig>} */
export default {
atrules: {
use: {
prelude: "<string>"
}
},
node: {
ScssVariable,
ScssDeclaration,
ScssPlaceholderSelector,
Selector: ScssSelector,
Value: ScssValue,
StyleSheet: ScssStyleSheet
}
};