-
-
Notifications
You must be signed in to change notification settings - Fork 15
Rewrite #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite #21
Changes from 3 commits
4d69410
8fed3a2
2f3983a
0a9a400
bec511f
42a57af
a17b74e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "presets": ["es2015-loose", "stage-0"], | ||
| "plugins": ["add-module-exports"], | ||
| "env": { | ||
| "development": { | ||
| "sourceMaps": "inline" | ||
| }, | ||
| "test": { | ||
| "plugins": ["istanbul"] | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| --- | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any preset maybe?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not |
||
| parser: babel-eslint | ||
| plugins: | ||
| - babel | ||
| - import | ||
|
|
||
| root: true | ||
| extends: eslint:recommended | ||
|
|
||
| #ecmaFeatures: | ||
| # modules: true | ||
|
|
||
| env: | ||
| es6: true | ||
| browser: true | ||
| node: true | ||
|
|
||
| rules: | ||
| # babel/object-curly-spacing: [2] | ||
| # brace-style: [2, 1tbs, {allowSingleLine: false}] | ||
| camelcase: [2] | ||
| # comma-dangle: [2, always-multiline] | ||
| comma-spacing: [2] | ||
| curly: [error, multi-or-nest] | ||
| dot-notation: [2] | ||
| eol-last: [2] | ||
| eqeqeq: [2] | ||
| handle-callback-err: [2] | ||
| import/export: [2] | ||
| import/imports-first: [2] | ||
| import/named: [2] | ||
| import/namespace: [2, {allowComputed: true}] | ||
| import/newline-after-import: [2] | ||
| import/no-duplicates: [2] | ||
| import/no-mutable-exports: [2] | ||
| import/no-named-as-default: [2] | ||
| import/no-named-as-default-member: [2] | ||
| # import/no-unresolved: [2, {"commonjs": true}] | ||
| import/order: [2] | ||
| import/prefer-default-export: [2] | ||
| indent: [2, 2, { "SwitchCase": 1 }] | ||
| keyword-spacing: [2] | ||
| new-cap: [2] | ||
| new-parens: [2] | ||
| no-alert: [2] | ||
| no-caller: [2] | ||
| no-case-declarations: [0] | ||
| no-const-assign: [2] | ||
| no-constant-condition: [2] | ||
| no-dupe-args: [2] | ||
| no-dupe-keys: [2] | ||
| no-empty: [2] | ||
| no-empty-character-class: [2] | ||
| no-eval: [2] | ||
| no-irregular-whitespace: [2] | ||
| no-labels: [2] | ||
| no-lonely-if: [2] | ||
| no-multiple-empty-lines: [2] | ||
| no-new: [2] | ||
| no-octal: [2] | ||
| no-proto: [2] | ||
| no-redeclare: [2] | ||
| no-return-assign: [2] | ||
| no-self-assign: [2] | ||
| no-self-compare: [2] | ||
| no-shadow: [2] | ||
| no-shadow-restricted-names: [2] | ||
| no-sparse-arrays: [2] | ||
| no-undef: [2] | ||
| no-unreachable: [2] | ||
| no-unused-vars: [2] | ||
| no-useless-call: [2] | ||
| no-var: [2] | ||
| no-void: [2] | ||
| no-warning-comments: [2] | ||
| no-with: [2] | ||
| quote-props: [2, as-needed] | ||
| prefer-arrow-callback: [2] | ||
| radix: [2] | ||
| semi: [2, always] | ||
| semi-spacing: [2] | ||
| # space-before-function-paren: [2, always] | ||
| space-before-blocks: [2, always] | ||
| spaced-comment: [2, always] | ||
| strict: [2, global] | ||
| yoda: [2, never] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| node_modules | ||
| dist |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not "just" babel-preset-latest?