File tree Expand file tree Collapse file tree 4 files changed +44
-2
lines changed
Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ indent_size = 2
7+ indent_style = space
8+ insert_final_newline = true
9+ max_line_length = 120
10+ tab_width = 4
11+ trim_trailing_whitespace = true
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ env : {
3+ commonjs : true ,
4+ es6 : true ,
5+ node : true
6+ } ,
7+ extends : [
8+ 'airbnb-base'
9+ ] ,
10+ globals : {
11+ Atomics : 'readonly' ,
12+ SharedArrayBuffer : 'readonly'
13+ } ,
14+ parserOptions : {
15+ ecmaVersion : 2018 ,
16+ } ,
17+ rules : {
18+ "comma-dangle" : [
19+ "error" ,
20+ "never"
21+ ] ,
22+ "no-console" : "off" ,
23+ "object-curly-newline" : "off"
24+ }
25+ } ;
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ node_modules/
1717.env
1818.env.test
1919
20+ # Ide
21+ .idea
Original file line number Diff line number Diff line change 99 "rsyncwrapper" : " 3.0.1"
1010 },
1111 "devDependencies" : {
12- "@zeit/ncc" : " ^0.20.5"
12+ "@zeit/ncc" : " ^0.20.5" ,
13+ "eslint" : " ^6.8.0" ,
14+ "eslint-config-airbnb-base" : " ^14.1.0" ,
15+ "eslint-plugin-import" : " ^2.20.2"
1316 },
1417 "scripts" : {
15- "build" : " ncc build ./src/index.js -o dist"
18+ "build" : " npm run lint && ncc build ./src/index.js -o dist" ,
19+ "lint" : " eslint ./src/index.js"
1620 },
1721 "repository" : {
1822 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments