forked from xinthink/react-native-material-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adopting ES6 new features, and eslint
- Loading branch information
Showing
13 changed files
with
120 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Engine analysis on Code Climate Platform For an overview of the Code Climate Platform. | ||
# @see http://docs.codeclimate.com/article/300-the-codeclimate-platform | ||
|
||
# For a list of all available engines, see here: | ||
# http://docs.codeclimate.com/article/296-engines-available-engines | ||
|
||
engines: | ||
eslint: | ||
enabled: true | ||
|
||
# Engines can analyze files and report issues on them, but you can separately | ||
# decide which files will receive ratings based on those issues. This is | ||
# specified by path patterns under the ratings key. | ||
|
||
ratings: | ||
paths: | ||
- Source/** | ||
|
||
# You can globally exclude files from being analyzed by any engine using the | ||
# exclude_paths key. | ||
|
||
exclude_paths: | ||
- Example/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// @see https://github.com/airbnb/javascript/blob/master/linters/.eslintrc | ||
{ | ||
"parser": "babel-eslint", // https://github.com/babel/babel-eslint | ||
"plugins": [ | ||
"react" // https://github.com/yannickcr/eslint-plugin-react | ||
], | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"ecmaFeatures": { | ||
"modules": true, | ||
"jsx": true | ||
}, | ||
"rules": { | ||
"comma-dangle": [1, "always-multiline"], | ||
"quotes": [1, "single", "avoid-escape"] | ||
}, | ||
"globals": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.