first commit
This commit is contained in:
32
node_modules/eslint-config-riot/.eslintrc.js
generated
vendored
Normal file
32
node_modules/eslint-config-riot/.eslintrc.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
"root": true,
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"mocha": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"eqeqeq": ["error", "smart"],
|
||||
"indent": ["error", 2],
|
||||
"no-bitwise": ["error", { "allow": ["|"] }],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"no-cond-assign": "off",
|
||||
"no-console": "off",
|
||||
"no-unexpected-multiline": "error",
|
||||
"quotes": ["error", "single", "avoid-escape"],
|
||||
"semi": ["error", "never"]
|
||||
},
|
||||
"globals": {
|
||||
"expect": true,
|
||||
"body": true,
|
||||
"chai": true,
|
||||
"sinon": true,
|
||||
"riot": true
|
||||
}
|
||||
}
|
||||
|
||||
37
node_modules/eslint-config-riot/.npmignore
generated
vendored
Normal file
37
node_modules/eslint-config-riot/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules
|
||||
jspm_packages
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
21
node_modules/eslint-config-riot/LICENSE
generated
vendored
Normal file
21
node_modules/eslint-config-riot/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 Riot
|
||||
|
||||
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.
|
||||
12
node_modules/eslint-config-riot/README.md
generated
vendored
Normal file
12
node_modules/eslint-config-riot/README.md
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# eslint-config-riot
|
||||
Riot default eslint config file
|
||||
|
||||
## Installation
|
||||
|
||||
```shell
|
||||
npm i eslint-config-riot -D
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add `"extends": "eslint-config-riot"` to your `.eslintrc` file
|
||||
25
node_modules/eslint-config-riot/package.json
generated
vendored
Normal file
25
node_modules/eslint-config-riot/package.json
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "eslint-config-riot",
|
||||
"version": "1.0.0",
|
||||
"description": " Riot default eslint config file",
|
||||
"main": ".eslintrc.js",
|
||||
"scripts": {
|
||||
"prepublish": "npm test",
|
||||
"test": "node -e 'require(\"./\")'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/riot/eslint-config.git"
|
||||
},
|
||||
"keywords": [
|
||||
"riot",
|
||||
"eslint",
|
||||
"config"
|
||||
],
|
||||
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (http://gianlucaguarini.com)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/riot/eslint-config/issues"
|
||||
},
|
||||
"homepage": "https://github.com/riot/eslint-config#readme"
|
||||
}
|
||||
Reference in New Issue
Block a user