mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-13 23:58:21 +02:00
modified
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
||||
# The MIT License
|
||||
|
||||
Copyright 2020 Harminder Virk, contributors
|
||||
|
||||
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.
|
||||
-75
@@ -1,75 +0,0 @@
|
||||
<div align="center">
|
||||
<img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1558612869/adonis-readme_zscycu.jpg" width="600px">
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center">
|
||||
|
||||
[![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
|
||||
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
# Eslint plugin AdonisJS
|
||||
> Eslint plugin for AdonisJS applications and packages.
|
||||
|
||||
This repo contains the config for eslint used by the core packages of AdonisJS and recommended for AdonisJS applications as well.
|
||||
|
||||
## Installation
|
||||
|
||||
You'll first need to install [ESLint](http://eslint.org):
|
||||
|
||||
```sh
|
||||
$ npm i eslint --save-dev
|
||||
```
|
||||
|
||||
Next, install `eslint-plugin-adonis`:
|
||||
|
||||
```sh
|
||||
$ npm install eslint-plugin-adonis --save-dev
|
||||
```
|
||||
|
||||
> **Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-adonis` globally.
|
||||
|
||||
## Usage
|
||||
Add `adonis` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
|
||||
|
||||
### For core or community packages
|
||||
`adonis/typescriptPackage` must be extended when creating packages for AdonisJS.
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": [
|
||||
"plugin:adonis/typescriptPackage"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### For applications
|
||||
`adonis/typescriptApp` must be extended when creating AdonisJS application written in Typescript.
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": [
|
||||
"plugin:adonis/typescriptApp"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<div align="center">
|
||||
<sub>Built with ❤︎ by <a href="https://github.com/thetutlage">Harminder Virk</a>
|
||||
</div>
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/eslint-plugin-adonis/latest.svg?style=for-the-badge&logo=npm
|
||||
[npm-url]: https://www.npmjs.com/package/eslint-plugin-adonis/v/alpha "npm"
|
||||
|
||||
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
||||
|
||||
[license-url]: LICENSE.md
|
||||
[license-image]: https://img.shields.io/github/license/adonisjs-community/eslint-plugin-adonis?style=for-the-badge
|
||||
|
||||
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/adonisjs-community/eslint-plugin-adonis?label=Synk%20Vulnerabilities&style=for-the-badge
|
||||
[synk-url]: https://snyk.io/test/github/adonisjs-community/eslint-plugin-adonis?targetFile=package.json "synk"
|
||||
-46
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "eslint-plugin-adonis",
|
||||
"version": "2.1.1",
|
||||
"description": "ESlint rules for AdonisJs applications and addons",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
"eslintplugin",
|
||||
"eslint-plugin",
|
||||
"adonisjs",
|
||||
"typescript"
|
||||
],
|
||||
"scripts": {
|
||||
"release": "np"
|
||||
},
|
||||
"author": "adonisjs,virk",
|
||||
"main": "lib/index.js",
|
||||
"devDependencies": {
|
||||
"eslint": "^8.23.1",
|
||||
"np": "^7.6.2"
|
||||
},
|
||||
"np": {
|
||||
"tests": false
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"directories": {
|
||||
"lib": "lib"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/AdonisCommunity/eslint-plugin-adonis.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/AdonisCommunity/eslint-plugin-adonis/issues"
|
||||
},
|
||||
"homepage": "https://github.com/AdonisCommunity/eslint-plugin-adonis#readme",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
||||
"@typescript-eslint/parser": "^5.37.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user