File tree Expand file tree Collapse file tree 20 files changed +50
-50
lines changed Expand file tree Collapse file tree 20 files changed +50
-50
lines changed Original file line number Diff line number Diff line change 1
- # Editor config
2
- # http://EditorConfig.org
3
-
4
- # This EditorConfig overrides any parent EditorConfigs
5
- root = true
6
-
7
- # Default rules applied to all file types
8
- [* ]
9
-
10
- # No trailing spaces, newline at EOF
11
- charset = utf-8
12
- trim_trailing_whitespace = true
13
- insert_final_newline = true
14
- end_of_line = lf
15
-
16
- # 2 space indentation
17
- indent_style = space
18
- indent_size = 2
19
-
20
- # JavaScript-specific settings
21
- [* .{js,ts} ]
22
- quote_type = double
23
- continuation_indent_size = 2
24
- curly_bracket_next_line = false
25
- indent_brace_style = BSD
26
- spaces_around_operators = true
27
- spaces_around_brackets = none
1
+ # Editor config
2
+ # http://EditorConfig.org
3
+
4
+ # This EditorConfig overrides any parent EditorConfigs
5
+ root = true
6
+
7
+ # Default rules applied to all file types
8
+ [* ]
9
+
10
+ # No trailing spaces, newline at EOF
11
+ charset = utf-8
12
+ trim_trailing_whitespace = true
13
+ insert_final_newline = true
14
+ end_of_line = lf
15
+
16
+ # 2 space indentation
17
+ indent_style = space
18
+ indent_size = 2
19
+
20
+ # JavaScript-specific settings
21
+ [* .{js,ts} ]
22
+ quote_type = double
23
+ continuation_indent_size = 2
24
+ curly_bracket_next_line = false
25
+ indent_brace_style = BSD
26
+ spaces_around_operators = true
27
+ spaces_around_brackets = none
Original file line number Diff line number Diff line change 5
5
root : true
6
6
7
7
extends :
8
- - modular/best-practices
9
- - modular/style
10
- - modular/browser
11
- - modular/node
12
- - modular/es6
8
+ - " @jsdevtools/ modular/best-practices"
9
+ - " @jsdevtools/ modular/style"
10
+ - " @jsdevtools/ modular/browser"
11
+ - " @jsdevtools/ modular/node"
12
+ - " @jsdevtools/ modular/es6"
13
13
14
14
rules :
15
15
# This rule erroneously flags functions that use the `arguments` object
Original file line number Diff line number Diff line change 3
3
// https://jstools.dev/karma-config/
4
4
5
5
"use strict" ;
6
- const { karmaConfig } = require ( "karma-config" ) ;
6
+ const { karmaConfig } = require ( "@jsdevtools/ karma-config" ) ;
7
7
let exclude = [ ] ;
8
8
9
9
if ( process . env . WINDOWS && process . env . CI ) {
Original file line number Diff line number Diff line change 2
2
3
3
const $Ref = require ( "./ref" ) ;
4
4
const Pointer = require ( "./pointer" ) ;
5
- const { ono } = require ( "ono" ) ;
5
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
6
6
const url = require ( "./util/url" ) ;
7
7
8
8
module . exports = dereference ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const bundle = require("./bundle");
9
9
const dereference = require ( "./dereference" ) ;
10
10
const url = require ( "./util/url" ) ;
11
11
const maybe = require ( "call-me-maybe" ) ;
12
- const { ono } = require ( "ono" ) ;
12
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
13
13
14
14
module . exports = $RefParser ;
15
15
module . exports . YAML = require ( "./util/yaml" ) ;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- const { ono } = require ( "ono" ) ;
3
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
4
4
const url = require ( "./util/url" ) ;
5
5
const plugins = require ( "./util/plugins" ) ;
6
6
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module.exports = Pointer;
4
4
5
5
const $Ref = require ( "./ref" ) ;
6
6
const url = require ( "./util/url" ) ;
7
- const { ono } = require ( "ono" ) ;
7
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
8
8
const slashes = / \/ / g;
9
9
const tildes = / ~ / g;
10
10
const escapedSlash = / ~ 1 / g;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- const { ono } = require ( "ono" ) ;
3
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
4
4
const $Ref = require ( "./ref" ) ;
5
5
const url = require ( "./util/url" ) ;
6
6
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
const fs = require ( "fs" ) ;
3
- const { ono } = require ( "ono" ) ;
3
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
4
4
const url = require ( "../util/url" ) ;
5
5
6
6
module . exports = {
Original file line number Diff line number Diff line change 2
2
3
3
const http = require ( "http" ) ;
4
4
const https = require ( "https" ) ;
5
- const { ono } = require ( "ono" ) ;
5
+ const { ono } = require ( "@jsdevtools/ ono" ) ;
6
6
const url = require ( "../util/url" ) ;
7
7
8
8
module . exports = {
You can’t perform that action at this time.
0 commit comments