Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

types-eslintrc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

types-eslintrc - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

build/environment.d.ts

127

build/index.d.ts
import { JSONValue } from "types-json";
import { ESLintEnvironment } from "./environment";
export declare const fileName = ".eslintrc.json";
export declare type ESLintEnvironment = {
/**
* Browser global variables.
*/
browser?: boolean;
/**
* Node.js global variables and Node.js scoping.
*/
node?: boolean;
/**
* CommonJS global variables and CommonJS scoping (use this for browser-only code that uses Browserify/WebPack).
*/
commonjs?: boolean;
/**
* Globals common to both Node.js and Browser.
*/
["shared-node-browser"]?: boolean;
/**
* Enable all ECMAScript 6 features except for modules (this automatically sets the ecmaVersion parser option to 6).
*/
es6?: boolean;
/**
* Adds all ECMAScript 2017 globals and automatically sets the ecmaVersion parser option to 8.
*/
es2017?: boolean;
/**
* Adds all ECMAScript 2020 globals and automatically sets the ecmaVersion parser option to 11.
*/
es2020?: boolean;
/**
* Adds all ECMAScript 2021 globals and automatically sets the ecmaVersion parser option to 12.
*/
es2021?: boolean;
/**
* Web workers global variables.
*/
worker?: boolean;
/**
* Defines require() and define() as global variables as per the amd spec.
*/
amd?: boolean;
/**
* Adds all of the Mocha testing global variables.
*/
mocha?: boolean;
/**
* Adds all of the Jasmine testing global variables for version 1.3 and 2.0.
*/
jasmine?: boolean;
/**
* Jest global variables.
*/
jest?: boolean;
/**
* PhantomJS global variables.
*/
phantomjs?: boolean;
/**
* Protractor global variables.
*/
protractor?: boolean;
/**
* QUnit global variables.
*/
qunit?: boolean;
/**
* jQuery global variables.
*/
jquery?: boolean;
/**
* Prototype.js global variables.
*/
prototypejs?: boolean;
/**
* ShellJS global variables.
*/
shelljs?: boolean;
/**
* Meteor global variables.
*/
meteor?: boolean;
/**
* Meteor global variables.
*/
mongo?: boolean;
/**
* AppleScript global variables.
*/
applescript?: boolean;
/**
* Java 8 Nashorn global variables.
*/
nashorn?: boolean;
/**
* Service Worker global variables.
*/
serviceworker?: boolean;
/**
* Atom test helper globals.
*/
atomtest?: boolean;
/**
* Ember test helper globals.
*/
embertest?: boolean;
/**
* WebExtensions globals.
*/
webextensions?: boolean;
/**
* GreaseMonkey globals.
*/
greasemonkey?: boolean;
[custom: string]: boolean | undefined;
};
export { ESLintEnvironment };
export declare type ESLintECMAVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021;

@@ -131,3 +18,5 @@ export declare type ESLintSeverity = "off" | "warn" | "error" | 0 | 1 | 2;

/**
* Set to 3, 5 (default), 6, 7, 8, 9, 10, 11, or 12 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11), or 2021 (same as 12) to use the year-based naming.
* Set to 3, 5 (default), 6, 7, 8, 9, 10, 11, or 12 to specify the version of ECMAScript syntax you want to use.
* You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10),
* 2020 (same as 11), or 2021 (same as 12) to use the year-based naming.
*/

@@ -202,3 +91,4 @@ ecmaVersion?: ESLintECMAVersion;

/**
* Processors can extract JavaScript code from another kind of files, then lets ESLint lint the JavaScript code. Or processors can convert JavaScript code in preprocessing for some purpose.
* Processors can extract JavaScript code from another kind of files, then lets ESLint lint the JavaScript code.
* Or processors can convert JavaScript code in preprocessing for some purpose.
*/

@@ -215,3 +105,4 @@ processor?: string;

/**
* You can add settings object to ESLint configuration file and it will be supplied to every rule that will be executed. This may be useful if you are adding custom rules and want them to have access to the same information and be easily configurable.
* You can add settings object to ESLint configuration file and it will be supplied to every rule that will be executed.
* This may be useful if you are adding custom rules and want them to have access to the same information and be easily configurable.
*/

@@ -218,0 +109,0 @@ settings?: {

@@ -5,3 +5,7 @@ "use strict";

exports.fileName = void 0;
var _environment = require("./environment");
exports.ESLintEnvironment = _environment.ESLintEnvironment;
var fileName = ".eslintrc.json";
exports.fileName = fileName;
{
"name": "types-eslintrc",
"version": "1.0.2",
"version": "1.0.3",
"description": "Type checking for .eslintrc.json",

@@ -39,11 +39,24 @@ "license": "MIT",

"build": "bob build",
"postversion": "git push",
"prepublishOnly": "yarn run build"
"commit": "bob commit",
"lint": "bob lint",
"release": "bob publish",
"test": "bob test"
},
"dependencies": {
"types-json": "^1.2.0"
"types-json": "^1.2.2"
},
"devDependencies": {
"@bconnorwhite/bob": "^2.2.1"
"@bconnorwhite/bob": "^2.9.2"
},
"eslintConfig": {
"extends": "eslint-config-bob"
},
"husky": {
"hooks": {
"commit-msg": "bob lint commit"
}
},
"npmpackagejsonlint": {
"extends": "npm-package-json-lint-config-bob"
}
}
}
<div align="center">
<h1>types-eslintrc</h1>
<a href="https://npmjs.com/package/types-eslintrc">
<img alt="npm" src="https://img.shields.io/npm/v/types-eslintrc.svg">
<img alt="NPM" src="https://img.shields.io/npm/v/types-eslintrc.svg">
</a>
<a href="https://github.com/bconnorwhite/types-eslintrc">
<img alt="typescript" src="https://img.shields.io/badge/TypeScript-%F0%9F%91%8D-blue.svg">
<img alt="TypeScript" src="https://img.shields.io/github/languages/top/bconnorwhite/types-eslintrc.svg">
</a>
<a href='https://coveralls.io/github/bconnorwhite/types-eslintrc?branch=master'>
<img alt="Coverage Status" src="https://img.shields.io/coveralls/github/bconnorwhite/types-eslintrc.svg?branch=master">
</a>
<a href="https://github.com/bconnorwhite/types-eslintrc">
<img alt="GitHub stars" src="https://img.shields.io/github/stars/bconnorwhite/types-eslintrc?label=Stars%20Appreciated%21&style=social">
<img alt="GitHub Stars" src="https://img.shields.io/github/stars/bconnorwhite/types-eslintrc?label=Stars%20Appreciated%21&style=social">
</a>

@@ -23,7 +26,7 @@ <a href="https://twitter.com/bconnorwhite">

```bash
```sh
yarn add types-eslintrc
```
```bash
```sh
npm install types-eslintrc

@@ -30,0 +33,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc