Skip to content

Commit 7ce8519

Browse files
author
Priyajeet Hora
committed
New: Initial Commit
0 parents  commit 7ce8519

294 files changed

Lines changed: 30481 additions & 0 deletions

File tree

Some content is hidden

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

.babelrc

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"presets": [
3+
[
4+
"es2015", { "modules": false }
5+
],
6+
"es2016",
7+
"react",
8+
"flow"
9+
],
10+
"plugins": [
11+
"transform-class-properties",
12+
"transform-export-extensions",
13+
"transform-object-rest-spread",
14+
[
15+
"react-intl",
16+
{
17+
"messagesDir": "./src/i18n/json"
18+
}
19+
]
20+
],
21+
"env": {
22+
"npm": {
23+
"plugins": [
24+
[
25+
"babel-plugin-transform-require-ignore", {
26+
"extensions": [".scss", ".css"]
27+
}
28+
]
29+
]
30+
},
31+
"test": {
32+
"plugins": [
33+
[
34+
"istanbul", {
35+
"exclude": [
36+
"build/**",
37+
"**/*-test.js"
38+
]
39+
}
40+
],
41+
"rewire",
42+
[
43+
"babel-plugin-transform-require-ignore", {
44+
"extensions": [".scss", ".css"]
45+
}
46+
]
47+
]
48+
}
49+
}
50+
}

.conventional-changelog-lintrc

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"rules": {
3+
"body-leading-blank": [
4+
2,
5+
"always"
6+
],
7+
"body-max-length": [
8+
0
9+
],
10+
"body-min-length": [
11+
0
12+
],
13+
"body-tense": [
14+
0,
15+
"never"
16+
],
17+
"footer-leading-blank": [
18+
0,
19+
"never"
20+
],
21+
"header-max-length": [
22+
2,
23+
"always",
24+
72
25+
],
26+
"header-min-length": [
27+
2,
28+
"always",
29+
3
30+
],
31+
"subject-tense": [
32+
0
33+
],
34+
"subject-max-length": [
35+
0
36+
],
37+
"subject-min-length": [
38+
0
39+
],
40+
"type-case": [
41+
0,
42+
"never"
43+
],
44+
"type-empty": [
45+
2,
46+
"never"
47+
],
48+
"type-enum": [
49+
2,
50+
"always",
51+
[
52+
"Fix",
53+
"New",
54+
"Breaking",
55+
"Docs",
56+
"Build",
57+
"Upgrade",
58+
"Chore",
59+
"Update",
60+
"Release",
61+
"Mojito"
62+
]
63+
],
64+
"type-max-length": [
65+
0
66+
],
67+
"type-min-length": [
68+
0
69+
]
70+
}
71+
}

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
flow/**
2+
lib/**
3+
dist/**

.eslintrc

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": [
4+
"airbnb",
5+
"plugin:flowtype/recommended",
6+
"plugin:react/recommended",
7+
"prettier",
8+
"prettier/flowtype",
9+
"prettier/react"
10+
],
11+
"env": {
12+
"es6": true,
13+
"browser": true,
14+
"mocha": true,
15+
"commonjs": true
16+
},
17+
"globals": {
18+
"after": false,
19+
"afterEach": false,
20+
"before": false,
21+
"beforeEach": false,
22+
"describe": false,
23+
"expect": false,
24+
"it": false,
25+
"sinon": false,
26+
"assert": false,
27+
"fixture": false,
28+
"__I18N__": false,
29+
"Box": false
30+
},
31+
"rules": {
32+
"camelcase": [0],
33+
"comma-dangle": [2, "never"],
34+
"indent": [2, 4, { "SwitchCase": 1 }],
35+
"react/jsx-indent": [2, 4],
36+
"react/jsx-indent-props": [2, 4],
37+
"react/jsx-filename-extension": [0],
38+
"react/no-unused-prop-types": [0],
39+
"react/sort-comp": [0],
40+
"jsx-quotes": [2, "prefer-single"],
41+
"max-len": ["error", 120],
42+
"arrow-parens": [2, "always"],
43+
"react/forbid-prop-types": [0],
44+
"class-methods-use-this": [0],
45+
"no-param-reassign": [2, { "props": false }],
46+
"import/no-extraneous-dependencies": [0],
47+
"react/require-default-props": [0],
48+
"react/display-name": [0],
49+
"quotes": [2, "single"]
50+
},
51+
"plugins": [
52+
"flowtype",
53+
"react"
54+
]
55+
}

.flowconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[ignore]
2+
.*/build/.*
3+
.*/dist/.*
4+
.*/reports/.*
5+
.*/node_modules/npm-shrinkwrap.*
6+
.*/node_modules/fbjs.*
7+
.*/node_modules/babel-plugin-flow-react-proptypes.*
8+
.*/node_modules/stylelint.*
9+
.*/node_modules/eslint*
10+
.*/node_modules/jest*
11+
.*/node_modules/conventional-changelog*
12+
13+
[include]
14+
./src
15+
16+
[libs]
17+
18+
[options]
19+
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/flow/SCSSFlowStub.js.flow'
20+
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/flow/SCSSFlowStub.js.flow'
21+
module.name_mapper='i18n-locale-data' -> '<PROJECT_ROOT>/flow/WebpackI18N.js.flow'
22+
module.name_mapper='react-virtualized/dist/es/Table' -> '<PROJECT_ROOT>/flow/ReactVirtualizedStub.js.flow'
23+
module.name_mapper='react-virtualized/dist/es/AutoSizer' -> '<PROJECT_ROOT>/flow/ReactVirtualizedStub.js.flow'
24+
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
_site
2+
node_modules
3+
*.swp
4+
*.iml
5+
.idea
6+
.DS_Store
7+
npm-debug.log
8+
yarn-debug.log
9+
reports
10+
dist
11+
src/i18n/json
12+
lib
13+
*~~bak

.npmignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
*~
2+
.vimrc
3+
.sublime-project
4+
.swp
5+
coverage
6+
reports
7+
desktop.ini
8+
npm-debug.log
9+
yarn-debug.log
10+
.npmrc
11+
Thumbs.db
12+
.idea
13+
src
14+
.babelrc
15+
.DS_Store
16+
.editorconfig
17+
.eslintrc.json
18+
.eslintrc
19+
.git
20+
.gitignore
21+
.npmignore
22+
.stylelintignore
23+
.stylelintrc
24+
.vscode
25+
.yarnrc
26+
build
27+
postcss.config.js
28+
reports
29+
test
30+
yarn.lock
31+
.travis.yml
32+
flow
33+
.flowconfig
34+
browserslist
35+
.conventional-changelog-lintrc
36+
*~~bak

.stylelintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/**

.stylelintrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"plugins": ["stylelint-order"],
4+
"rules": {
5+
"indentation": 4,
6+
"at-rule-no-vendor-prefix": true,
7+
"media-feature-name-no-vendor-prefix": true,
8+
"property-no-vendor-prefix": true,
9+
"selector-no-vendor-prefix": true,
10+
"value-no-vendor-prefix": true,
11+
"number-leading-zero": never,
12+
"declaration-no-important": true,
13+
"order/properties-alphabetical-order": [true, { "severity": "warning" }]
14+
}
15+
}

0 commit comments

Comments
 (0)