File tree 3 files changed +38
-16
lines changed
3 files changed +38
-16
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ indent_style = tab
5
+ end_of_line = lf
6
+ charset = utf-8
7
+ trim_trailing_whitespace = true
8
+ insert_final_newline = true
9
+
10
+ [{package.json,.* rc,* .yml} ]
11
+ indent_style = space
12
+ indent_size = 2
13
+
14
+ [* .md ]
15
+ trim_trailing_whitespace = false
16
+
17
+ # Uglify (or some other tool) always rewrites this file
18
+ # without a final newline on build, so disabling that
19
+ # editorconfig feature specifically for this file
20
+ [{mangle.json,** /mangle.json} ]
21
+ indent_style = space
22
+ insert_final_newline = false
Original file line number Diff line number Diff line change 1
1
module . exports = function ( api ) {
2
- api . cache ( true ) ;
2
+ api . cache ( true ) ;
3
3
4
- const presets = [
5
- [
6
- "@babel/preset-react" ,
7
- {
8
- pragma : "createElement" ,
9
- pragmaFrag : "Fragment"
10
- }
11
- ]
12
- ] ;
4
+ const presets = [
5
+ [
6
+ "@babel/preset-react" ,
7
+ {
8
+ pragma : "createElement" ,
9
+ pragmaFrag : "Fragment"
10
+ }
11
+ ]
12
+ ] ;
13
13
14
- const plugins = [ ] ;
14
+ const plugins = [ ] ;
15
15
16
- return {
17
- presets,
18
- plugins
19
- } ;
16
+ return {
17
+ presets,
18
+ plugins
19
+ } ;
20
20
} ;
Original file line number Diff line number Diff line change 1
1
import { createElement } from "preact" ;
2
2
3
3
export function App ( ) {
4
- return < div > Hello World!</ div > ;
4
+ return < div > Hello World!</ div > ;
5
5
}
You can’t perform that action at this time.
0 commit comments