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

eslint-config-tui

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-tui - npm Package Compare versions

Comparing version 6.0.0-beta to 6.0.0

eslint-config-tui-6.0.0.tgz

22

index.js

@@ -1,6 +0,18 @@

module.exports = {
extends: ["./rules/possible", "./rules/suggestion", "./rules/layout"].map(require.resolve),
env: {
browser: true,
const globals = require('globals');
const possibleConfig = require('./rules/possible');
const suggestionConfig = require('./rules/suggestion');
const layoutConfig = require('./rules/layout');
module.exports = [
...possibleConfig,
...suggestionConfig,
...layoutConfig,
{
languageOptions: {
globals: {
...globals.browser,
},
},
},
};
];
{
"name": "eslint-config-tui",
"version": "6.0.0-beta",
"version": "6.0.0",
"description": "ESLint sharable config for TUI components",

@@ -10,3 +10,4 @@ "main": "index.js",

"peerDependencies": {
"eslint": "^9.6.0"
"eslint": "^9.0.0",
"globals":"^15.13.0"
},

@@ -13,0 +14,0 @@ "repository": {

@@ -6,2 +6,3 @@ # eslint-config-tui

## Install
```

@@ -12,14 +13,16 @@ $ npm install eslint eslint-config-tui --save-dev

## Usage
Add `.eslintrc.js` on your project's root directory.
> **Note:** If you have configured your project to use ESM (ECMAScript Modules) format, you can also write your ESLint configuration using the filename `eslint.config.js`.
```javascript
// eslint.config.js
import tuiConfig from "eslint-config-tui"
// eslint.config.mjs
import tui from 'eslint-config-tui';
module.exports = [
tuiConfig,
export default [
tui,
{
rules: {
// Override rules or Add more rules
}
}
},
},
];

@@ -31,2 +34,3 @@ ```

## Learn more
[JavaScript Style Guide](https://github.com/nhn/fe.javascript/wiki)

@@ -36,5 +40,4 @@

[Using a Shareable Configuration Package](https://eslint.org/docs/latest/use/configure/configuration-files#using-a-shareable-configuration-package)
## License
## License
This software is licensed under the [MIT](https://github.com/nhn/tui.eslint.config/blob/master/LICENSE) © [NHN Cloud](https://github.com/nhn).

@@ -27,3 +27,3 @@ module.exports = {

"no-ex-assign": 2,
"no-fallthrough": [2, { allowEmptyCase: false, reportUnusedFallthroughComment: true }],
"no-fallthrough": [2, { allowEmptyCase: false }],
"no-func-assign": 2,

@@ -35,3 +35,3 @@ "no-import-assign": 2,

"no-loss-of-precision": 2,
"no-misleading-character-class": [2, { allowEscape: false }],
"no-misleading-character-class": 2,
"no-new-native-nonconstructor": 2,

@@ -56,3 +56,3 @@ "no-new-symbol": 2,

"no-unused-private-class-members": 2,
"no-unused-vars": [2, {ignoreClassWithStaticInitBlock: false}],
"no-unused-vars": 2,
"no-use-before-define": [

@@ -59,0 +59,0 @@ 2,

@@ -54,3 +54,3 @@ module.exports = {

"no-extra-bind": 2,
"no-extra-boolean-cast": [2, { enforceForInnerExpressions: true }],
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,

@@ -99,3 +99,2 @@ "no-floating-decimal": 2,

"no-unused-expressions": 2,
"no-useless-assignment": 2,
"no-useless-call": 2,

@@ -102,0 +101,0 @@ "no-useless-catch": 2,

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