File tree Expand file tree Collapse file tree 4 files changed +61
-4
lines changed Expand file tree Collapse file tree 4 files changed +61
-4
lines changed Original file line number Diff line number Diff line change
1
+ [all]
2
+ files = *.js
3
+ max_line_length = 80
4
+ use_spaces = True
5
+ eslint_config = .eslintrc
6
+
7
+ [all.whitespace]
8
+ bears = SpaceConsistencyBear
9
+ default_actions = *: ApplyPatchAction
10
+
11
+ [all.eslint]
12
+ bears = ESLintBear
13
+ default_actions = *: ApplyPatchAction
14
+
15
+ [all.linelength]
16
+ ignore = generate.js
17
+ bears = LineLengthBear
18
+
19
+ [all.links]
20
+ bears = InvalidLinkBear
21
+
22
+ [json]
23
+ files = *.json
24
+ ignore = package-lock.json
25
+ bears = JSONFormatBear
26
+ indent_size = 2
27
+ default_actions = *: ApplyPatchAction
28
+
29
+ [yaml]
30
+ files = *.yml, .eslintrc
31
+ bears = YAMLLintBear
Original file line number Diff line number Diff line change
1
+ ---
2
+ parserOptions:
3
+ ecmaVersion: 2017
4
+ plugins:
5
+ - prettier
6
+ rules:
7
+ prettier/prettier:
8
+ - error
9
+ - singleQuote: true
10
+ semi: false
11
+ trailingComma: es5
12
+ bracketSpacing: true
13
+ arrowParens: avoid
Original file line number Diff line number Diff line change 1
- sudo : false
2
- language : node_js
1
+ language : python
2
+ python : 3.6
3
+
4
+ before_install :
5
+ - nvm install 8
6
+ - npm install
7
+ - pip3 install coala-bears
8
+ - export PATH=$PATH:./node_modules/.bin
9
+ - export NODE_PATH=$NODE_PATH:./node_modules
3
10
4
11
script :
12
+ - coala --non-interactive -V
5
13
- npm run build
6
14
7
15
deploy :
8
16
provider : pages
9
17
skip_cleanup : true
10
- github_token : $GITHUB_TOKEN # Set in travis-ci.org dashboard
18
+ github_token : $GITHUB_TOKEN
11
19
local_dir : out
12
- on :
20
+ " on " :
13
21
branch : master
Original file line number Diff line number Diff line change 12
12
"dependencies" : {
13
13
"mustache" : " ^2.3.0" ,
14
14
"node-fetch" : " ^1.7.3"
15
+ },
16
+ "devDependencies" : {
17
+ "eslint" : " ^4.12.1" ,
18
+ "eslint-plugin-prettier" : " ^2.3.1" ,
19
+ "prettier" : " ^1.9.1"
15
20
}
16
21
}
You can’t perform that action at this time.
0 commit comments