Skip to content

Commit

Permalink
Merge pull request #13 from nicolasdelfino/metroTweener-no-gsap
Browse files Browse the repository at this point in the history
feat: replace GSAP with Metro.metroTweener
  • Loading branch information
nicolasdelfino committed Feb 9, 2018
2 parents 447f4c4 + 6bb311f commit ac512eb
Show file tree
Hide file tree
Showing 10 changed files with 693 additions and 299 deletions.
266 changes: 133 additions & 133 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,137 +1,137 @@
module.exports = {
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
generators: true,
experimentalObjectRestSpread: true
},
sourceType: 'module',
allowImportExportEverywhere: false
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
generators: true,
experimentalObjectRestSpread: true
},
extends: ['airbnb'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.json']
}
sourceType: 'module',
allowImportExportEverywhere: false
},
extends: ['airbnb'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.json']
}
},
globals: {
window: true,
document: true,
__dirname: true,
__DEV__: true,
CONFIG: true,
process: true,
jest: true,
describe: true,
test: true,
it: true,
expect: true,
beforeEach: true,
fetch: true,
alert: true
},
"plugins": [
"prefer-object-spread"
],
rules: {
'import/extensions': [
'error',
'always',
{
js: 'never',
jsx: 'never',
styl: 'never',
css: 'never'
}
],
'no-shadow': 0,
'no-tabs': 0,
'no-use-before-define': 0,
'no-param-reassign': 0,
'react/prop-types': 0,
'react/no-render-return-value': 0,
'no-confusing-arrow': 0,
'no-underscore-dangle': 0,
'no-plusplus': 0,
'camelcase': 1,
'prefer-template': 1,
'react/no-array-index-key': 1,
'global-require': 1,
'react/jsx-indent': 1,
'dot-notation': 1,
'import/no-named-default': 1,
'no-unused-vars': 1,
'consistent-return': 1,
'import/prefer-default-export': 1,
'no-console': 1,
'jsx-a11y/no-static-element-interactions': 1,
'no-case-declarations': 1,
'semi': [2, 'never'],
"prefer-object-spread/prefer-object-spread": 2,
'jsx-quotes': [2, 'prefer-single'],
'react/jsx-filename-extension': [2, { extensions: ['.jsx', '.js'] }],
'spaced-comment': [2, 'always', { markers: ['?'] }],
'arrow-parens': [2, 'as-needed', { requireForBlockBody: false }],
'brace-style': [2, 'stroustrup'],
'import/no-unresolved': [2, { commonjs: true, caseSensitive: true }],
'no-unused-expressions': [
2,
{
allowShortCircuit: true,
allowTernary: true,
allowTaggedTemplates: true
}
],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
optionalDependencies: true,
peerDependencies: true
}
],
'comma-dangle': [
2,
{
arrays: 'never',
objects: 'never',
imports: 'never',
exports: 'never',
functions: 'never'
}
],
'max-len': [
'error',
{
code: 80,
tabWidth: 2,
ignoreUrls: true,
ignoreComments: true,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
'react/sort-comp': [
2,
{
order: [
'propTypes',
'props',
'state',
'defaultProps',
'contextTypes',
'childContextTypes',
'getChildContext',
'static-methods',
'lifecycle',
'everything-else',
'render'
]
}
],
'linebreak-style': 0
}
}
},
globals: {
window: true,
document: true,
__dirname: true,
__DEV__: true,
CONFIG: true,
process: true,
jest: true,
describe: true,
test: true,
it: true,
expect: true,
beforeEach: true,
fetch: true,
alert: true
},
plugins: ['prefer-object-spread'],
rules: {
'import/extensions': [
'error',
'always',
{
js: 'never',
jsx: 'never',
styl: 'never',
css: 'never'
}
],
'no-shadow': 0,
'no-tabs': 0,
'no-use-before-define': 0,
'no-param-reassign': 0,
'react/prop-types': 0,
'react/no-render-return-value': 0,
'no-confusing-arrow': 0,
'no-underscore-dangle': 0,
'no-plusplus': 0,
camelcase: 1,
'no-return-assign': 0,
'valid-typeof': 0,
'prefer-template': 1,
'react/no-array-index-key': 1,
'global-require': 1,
'react/jsx-indent': 1,
'dot-notation': 1,
'import/no-named-default': 1,
'no-unused-vars': 1,
'consistent-return': 1,
'import/prefer-default-export': 1,
'no-console': 1,
'jsx-a11y/no-static-element-interactions': 1,
'no-case-declarations': 1,
semi: [2, 'never'],
'prefer-object-spread/prefer-object-spread': 2,
'jsx-quotes': [2, 'prefer-single'],
'react/jsx-filename-extension': [2, { extensions: ['.jsx', '.js'] }],
'spaced-comment': [2, 'always', { markers: ['?'] }],
'arrow-parens': [2, 'as-needed', { requireForBlockBody: false }],
'brace-style': [2, 'stroustrup'],
'import/no-unresolved': [2, { commonjs: true, caseSensitive: true }],
'no-unused-expressions': [
2,
{
allowShortCircuit: true,
allowTernary: true,
allowTaggedTemplates: true
}
],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
optionalDependencies: true,
peerDependencies: true
}
],
'comma-dangle': [
2,
{
arrays: 'never',
objects: 'never',
imports: 'never',
exports: 'never',
functions: 'never'
}
],
'max-len': [
'error',
{
code: 80,
tabWidth: 2,
ignoreUrls: true,
ignoreComments: true,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
'react/sort-comp': [
2,
{
order: [
'propTypes',
'props',
'state',
'defaultProps',
'contextTypes',
'childContextTypes',
'getChildContext',
'static-methods',
'lifecycle',
'everything-else',
'render'
]
}
],
'linebreak-style': 0
}
}

0 comments on commit ac512eb

Please sign in to comment.