Skip to content

Commit 5861bd5

Browse files
committed
Initial commit to migrate ag-grid to open-source repository
0 parents  commit 5861bd5

Some content is hidden

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

94 files changed

+53855
-0
lines changed

.Rbuildignore

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# ignore JS config files/folders
2+
node_modules/
3+
coverage/
4+
src/
5+
lib/
6+
.babelrc
7+
.builderrc
8+
.eslintrc
9+
.npmignore
10+
.editorconfig
11+
.eslintignore
12+
.prettierrc
13+
.circleci
14+
.github
15+
16+
# demo folder has special meaning in R
17+
# this should hopefully make it still
18+
# allow for the possibility to make R demos
19+
demo/.*\.js
20+
demo/.*\.html
21+
demo/.*\.css
22+
23+
# ignore Python files/folders
24+
setup.py
25+
usage.py
26+
setup.py
27+
requirements.txt
28+
MANIFEST.in
29+
CHANGELOG.md
30+
test/
31+
# CRAN has weird LICENSE requirements
32+
LICENSE.txt
33+
^.*\.Rproj$
34+
^\.Rproj\.user$

.babelrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"env": {
4+
"production": {
5+
"plugins": ["styled-jsx/babel", "@babel/plugin-syntax-dynamic-import"]
6+
},
7+
"development": {
8+
"plugins": ["styled-jsx/babel", "@babel/plugin-syntax-dynamic-import"]
9+
},
10+
"test": {
11+
"plugins": ["styled-jsx/babel-test"]
12+
}
13+
}
14+
}

.buildpacks

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/plotly/heroku-buildpack-python

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.css
2+
registerServiceWorker.js

.eslintrc

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"extends": ["eslint:recommended", "prettier"],
3+
"parser": "babel-eslint",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module",
7+
"ecmaFeatures": {
8+
"arrowFunctions": true,
9+
"blockBindings": true,
10+
"classes": true,
11+
"defaultParams": true,
12+
"destructuring": true,
13+
"forOf": true,
14+
"generators": true,
15+
"modules": true,
16+
"templateStrings": true,
17+
"jsx": true
18+
}
19+
},
20+
"env": {
21+
"browser": true,
22+
"es6": true,
23+
"jasmine": true,
24+
"jest": true,
25+
"node": true
26+
},
27+
"globals": {
28+
"jest": true
29+
},
30+
"plugins": [
31+
"react",
32+
"import"
33+
],
34+
"rules": {
35+
"accessor-pairs": ["error"],
36+
"block-scoped-var": ["error"],
37+
"consistent-return": ["error"],
38+
"curly": ["error", "all"],
39+
"default-case": ["error"],
40+
"dot-location": ["off"],
41+
"dot-notation": ["error"],
42+
"eqeqeq": ["error"],
43+
"guard-for-in": ["off"],
44+
"import/named": ["off"],
45+
"import/no-duplicates": ["error"],
46+
"import/no-named-as-default": ["error"],
47+
"new-cap": ["error"],
48+
"no-alert": [1],
49+
"no-caller": ["error"],
50+
"no-case-declarations": ["error"],
51+
"no-console": ["off"],
52+
"no-div-regex": ["error"],
53+
"no-dupe-keys": ["error"],
54+
"no-else-return": ["error"],
55+
"no-empty-pattern": ["error"],
56+
"no-eq-null": ["error"],
57+
"no-eval": ["error"],
58+
"no-extend-native": ["error"],
59+
"no-extra-bind": ["error"],
60+
"no-extra-boolean-cast": ["error"],
61+
"no-inline-comments": ["error"],
62+
"no-implicit-coercion": ["error"],
63+
"no-implied-eval": ["error"],
64+
"no-inner-declarations": ["off"],
65+
"no-invalid-this": ["error"],
66+
"no-iterator": ["error"],
67+
"no-labels": ["error"],
68+
"no-lone-blocks": ["error"],
69+
"no-loop-func": ["error"],
70+
"no-multi-str": ["error"],
71+
"no-native-reassign": ["error"],
72+
"no-new": ["error"],
73+
"no-new-func": ["error"],
74+
"no-new-wrappers": ["error"],
75+
"no-param-reassign": ["error"],
76+
"no-process-env": ["warn"],
77+
"no-proto": ["error"],
78+
"no-redeclare": ["error"],
79+
"no-return-assign": ["error"],
80+
"no-script-url": ["error"],
81+
"no-self-compare": ["error"],
82+
"no-sequences": ["error"],
83+
"no-shadow": ["off"],
84+
"no-throw-literal": ["error"],
85+
"no-undefined": ["error"],
86+
"no-unused-expressions": ["error"],
87+
"no-use-before-define": ["error", "nofunc"],
88+
"no-useless-call": ["error"],
89+
"no-useless-concat": ["error"],
90+
"no-with": ["error"],
91+
"prefer-const": ["error"],
92+
"radix": ["error"],
93+
"react/jsx-no-duplicate-props": ["error"],
94+
"react/jsx-no-undef": ["error"],
95+
"react/jsx-uses-react": ["error"],
96+
"react/jsx-uses-vars": ["error"],
97+
"react/no-did-update-set-state": ["error"],
98+
"react/no-direct-mutation-state": ["error"],
99+
"react/no-is-mounted": ["error"],
100+
"react/no-unknown-property": ["error"],
101+
"react/prefer-es6-class": ["error", "always"],
102+
"react/prop-types": "error",
103+
"valid-jsdoc": ["off"],
104+
"yoda": ["error"],
105+
"spaced-comment": ["error", "always", {
106+
"block": {
107+
"exceptions": ["*"]
108+
}
109+
}],
110+
"no-unused-vars": ["error", {
111+
"args": "after-used",
112+
"argsIgnorePattern": "^_",
113+
"caughtErrorsIgnorePattern": "^e$"
114+
}],
115+
"no-magic-numbers": ["error", {
116+
"ignoreArrayIndexes": true,
117+
"ignore": [-1, 0, 1, 2, 3, 100, 10, 0.5]
118+
}],
119+
"no-underscore-dangle": ["off"]
120+
}
121+
}

.flake8

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E203,E501,W503

0 commit comments

Comments
 (0)