Skip to content

Commit 9bd798a

Browse files
committed
updated changes of fluent messagebar
1 parent 5463113 commit 9bd798a

File tree

6 files changed

+438
-90
lines changed

6 files changed

+438
-90
lines changed

FluentMessageBar/.eslintrc.json

Lines changed: 36 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,43 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es2020": true
5-
},
6-
"extends": [
7-
"plugin:react/recommended",
8-
"plugin:sonarjs/recommended"
9-
],
10-
"globals": {
11-
"ComponentFramework": true
12-
},
13-
"parser": "@typescript-eslint/parser",
14-
"parserOptions": {
15-
"ecmaFeatures": {
16-
"jsx": true
2+
"parser": "@typescript-eslint/parser",
3+
"env": {
4+
"browser": true,
5+
"commonjs": true,
6+
"es6": true,
7+
"jest": true
178
},
18-
"ecmaVersion": 12,
19-
"sourceType": "module"
20-
},
21-
"plugins": [
22-
"react",
23-
"@typescript-eslint",
24-
"sonarjs"
25-
],
26-
"ignorePatterns": ["**/generated/*.ts"],
27-
"rules": {
28-
"indent": [
29-
"error",
30-
4
9+
"extends": [
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:sonarjs/recommended"
3112
],
32-
"linebreak-style": [
33-
"error",
34-
"windows"
13+
"parserOptions": {
14+
"project": "./tsconfig.json"
15+
},
16+
"plugins": [
17+
"@typescript-eslint",
18+
"react",
19+
"sonarjs"
3520
],
36-
"quotes": [
37-
"error",
38-
"single"
21+
"rules": {
22+
"@typescript-eslint/no-unused-vars": "off"
23+
},
24+
"overrides": [
25+
{
26+
"files": [
27+
"*.ts"
28+
],
29+
"rules": {
30+
"camelcase": [
31+
2,
32+
{
33+
"properties": "never"
34+
}
35+
]
36+
}
37+
}
3938
],
40-
"semi": [
41-
"error",
42-
"always"
39+
"ignorePatterns": [
40+
"**/generated/**",
41+
"**/.eslint*.json"
4342
]
44-
},
45-
"settings": {
46-
"react": {
47-
"version": "detect"
48-
}
49-
}
5043
}

FluentMessageBar/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@
1515

1616
# MSBuild Binary and Structured Log
1717
*.binlog
18+
19+
# Visual Studio cache/options directory
20+
/.vs
21+
22+
# macos
23+
.DS_Store

FluentMessageBar/FluentMessageBar.pcfproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<PropertyGroup>
1111
<Name>FluentMessageBar</Name>
12-
<ProjectGuid>83e9e0ca-0753-45c4-893a-ed5ffca3f1f5</ProjectGuid>
12+
<ProjectGuid>ff0d1665-98df-4699-856c-545e3fae1929</ProjectGuid>
1313
<OutputPath>$(MSBuildThisFileDirectory)out\controls</OutputPath>
1414
<PcfBuildMode>production</PcfBuildMode>
1515
</PropertyGroup>

0 commit comments

Comments
 (0)