Skip to content

Commit b940cd1

Browse files
authored
Merge pull request #53 from codaco/feature/submodule
Convert for use as a submodule
2 parents f66d536 + 02b3eb6 commit b940cd1

File tree

438 files changed

+2528
-21101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

438 files changed

+2528
-21101
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 31 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@
66
"es6": true,
77
"node": true
88
},
9-
"globals": {
10-
"__DEV__" : false,
11-
"__TEST__" : false,
12-
"__PROD__" : false,
13-
"__COVERAGE__" : false
14-
},
159
"parser": "babel-eslint",
1610
"parserOptions": {
17-
ecmaVersion: 7,
11+
"ecmaVersion": 7,
1812
"ecmaFeatures": {
1913
"jsx": true,
2014
"spread": true,
@@ -28,10 +22,9 @@
2822
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
2923
"react/forbid-prop-types": "off",
3024
"react/no-array-index-key": "off",
31-
"react/prefer-stateless-function": "warn",
32-
"import/no-extraneous-dependencies": "off",
3325
"jsx-a11y/no-static-element-interactions": "off",
34-
"jsx-a11y/aria-role": "warn",
35-
"no-prototype-builtins": "off"
26+
"import/no-extraneous-dependencies": "off",
27+
"import/no-named-as-default": "off",
28+
"no-mixed-operators": [1, {"allowSamePrecedence": true}]
3629
}
3730
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.js text eol=lf

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
.DS_STORE
2-
*.log
3-
4-
node_modules
5-
6-
dist
7-
coverage
8-
npm-debug.log
2+
/node_modules
3+
npm-debug.log*

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.sass-lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
options:
22
formatter: stylish
33
files:
4-
include: 'src/**/*.s+(a|c)ss'
4+
include: 'styles/**/*.s+(a|c)ss'
55
rules:
66
# Extends
77
extends-before-mixins: 1
@@ -22,7 +22,7 @@ rules:
2222
no-color-keywords: 1
2323
no-color-literals: 1
2424
no-combinators: 0
25-
no-css-comments: 1
25+
no-css-comments: 0
2626
no-debug: 1
2727
no-disallowed-properties: 0
2828
no-duplicate-properties: 1
@@ -54,7 +54,7 @@ rules:
5454
class-name-format:
5555
- enabled: 1
5656
- convention: hyphenatedbem
57-
function-name-format: 1
57+
function-name-format: 0
5858
id-name-format: 0
5959
mixin-name-format: 1
6060
placeholder-name-format: 1
@@ -73,7 +73,7 @@ rules:
7373
leading-zero: 1
7474
max-line-length: 0
7575
max-file-line-count: 0
76-
nesting-depth: 1
76+
nesting-depth: 0
7777
property-sort-order: 0
7878
pseudo-element: 1
7979
quotes: 1

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
language: node_js
2+
branches:
3+
only:
4+
- master
25
node_js:
3-
- "8.9"
6+
- "8.11"
7+
cache:
8+
directories:
9+
- node_modules # NPM packages
10+
before_install:
11+
- sudo apt-get update -q
12+
install:
13+
- npm install
414
jobs:
515
include:
616
- stage: lint
717
script: npm run lint
8-
- stage: build
9-
script: npm run build
10-
- stage: prepublish
11-
script: npm run prepublish
18+
- script: npm run sass-lint

0 commit comments

Comments
 (0)