-
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.
- Loading branch information
0 parents
commit b036002
Showing
11 changed files
with
504 additions
and
0 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
* text eol=lf |
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,2 @@ | ||
node_modules/ | ||
*.log |
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,4 @@ | ||
.* | ||
AUTHORS.md | ||
CONTRIBUTING.md | ||
README.md |
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,3 @@ | ||
# Authors ordered by first contribution | ||
|
||
* Alasdair Mercer <[email protected]> |
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,15 @@ | ||
# Contributing | ||
|
||
If you have any questions about [eslint-config-notninja](https://github.com/NotNinja/eslint-config-notninja) please feel | ||
free to [raise an issue](https://github.com/NotNinja/eslint-config-notninja/issues/new). | ||
|
||
Please [search existing issues](https://github.com/NotNinja/eslint-config-notninja/issues) for the same feature and/or | ||
issue before raising a new issue. Commenting on an existing issue is usually preferred over raising duplicate issues. | ||
|
||
Please ensure that all files conform to the coding standards, using the same coding style as the rest of the code base. | ||
|
||
All pull requests should be made to the `develop` branch. | ||
|
||
Don't forget to add your details to the list of | ||
[AUTHORS.md](https://github.com/NotNinja/eslint-config-notninja/blob/master/AUTHORS.md) if you want your contribution to | ||
be recognized by others. |
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,19 @@ | ||
Copyright (C) 2017 Alasdair Mercer, !ninja | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,58 @@ | ||
# !ninja ESlint Configuration | ||
|
||
[eslint-config-notninja](https://github.com/NotNinja/eslint-config-notninja) contains standard ESLint configurations for | ||
!ninja packages. | ||
|
||
[![License](https://img.shields.io/npm/l/eslint-config-notninja.svg?style=flat-square)](https://github.com/NotNinja/eslint-config-notninja/blob/master/LICENSE.md) | ||
[![Release](https://img.shields.io/npm/v/eslint-config-notninja.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-notninja) | ||
|
||
* [Install](#install) | ||
* [Configuration](#configuration) | ||
* [Bugs](#bugs) | ||
* [Contributors](#contributors) | ||
* [License](#license) | ||
|
||
## Install | ||
|
||
Install using `npm`: | ||
|
||
``` bash | ||
$ npm install --save-dev eslint-config-notninja | ||
``` | ||
|
||
You'll need to have at least [Node.js](https://nodejs.org) installed. | ||
|
||
## Configuration | ||
|
||
Create an ESLint configuration file within your package that extends this configuration: | ||
|
||
``` json | ||
{ | ||
"extends": "notninja", | ||
... | ||
} | ||
``` | ||
|
||
This will import the ECMAScript 5 configuration by default. This can also be done by extending `"notninja/es5"`. For | ||
ECMAScript 6 packages, please extend `"notninja/es6"` instead. | ||
|
||
## Bugs | ||
|
||
If you have any problems or would like to see changes currently in development you can do so | ||
[here](https://github.com/NotNinja/eslint-config-notninja/issues). | ||
|
||
## Contributors | ||
|
||
If you want to contribute, you're a legend! Information on how you can do so can be found in | ||
[CONTRIBUTING.md](https://github.com/NotNinja/eslint-config-notninja/blob/master/CONTRIBUTING.md). We want your | ||
suggestions and pull requests! | ||
|
||
A list of contributors can be found in | ||
[AUTHORS.md](https://github.com/NotNinja/eslint-config-notninja/blob/master/AUTHORS.md). | ||
|
||
## License | ||
|
||
See [LICENSE.md](https://github.com/NotNinja/eslint-config-notninja/raw/master/LICENSE.md) for more information on our | ||
MIT license. | ||
|
||
[![Copyright !ninja](https://cdn.rawgit.com/NotNinja/branding/master/assets/copyright/base/not-ninja-copyright-186x25.png)](https://not.ninja) |
Oops, something went wrong.