id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Script_Commands/Script_Commands_5_11.txt | { someOption: 5 }] ` results in ` context.options = ["never", { someOption: 5 }] ` )
5. The rule’s schema validation is run on the ` context.options ` array.
Note: this means that the rule schema cannot validate the severity. The rule
schema only validates the array elements _after_ the severity in a rule
config. ... | |
Script_Commands/enforce-module-boundaries5_91_0.txt | * Overview
##### generators | |
Script_Commands/Script_Commands_3_4.txt | AST compatible with standard JavaScript runtimes and
versions.
Custom parsers let ESLint parse non-standard JavaScript syntax. Often custom
parsers are included as part of shareable configurations or plugins, so you
don’t have to use them directly. For example, [ @typescript-eslint/parser
](https://www.npmjs.com/pack... | |
Script_Commands/enforce-module-boundaries5_47_0.txt | * Overview
##### executors | |
Script_Commands/Script_Commands_51_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/Script_Commands_52_3.txt |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
... | |
Script_Commands/Script_Commands_40_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/Script_Commands_38_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/enforce-module-boundaries5_50_0.txt | * ##### documents
* Overview | |
Script_Commands/Script_Commands_5_12.txt | 7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Object schemas can be more precise and restrictive in what is permitted. For
example, the below schema always ... | |
Script_Commands/enforce-module-boundaries5_75_0.txt | ##### executors
* serve
* build | |
Script_Commands/Webstorm-conflicts-with-Eslint-config-and-pick-wrong-configuration5_0_0.txt | {{ (>_<) }}
This version of your browser is not supported.
Try upgrading to the latest stable version. Something went seriously wrong.
| |
Script_Commands/Script_Commands_52_6.txt | s
npx eslint --ignore-path .gitignore file.js
1
2
#### ` --no-ignore `
Disables excluding of files from ` .eslintignore ` files, ` --ignore-path `
flags, ` --ignore-pattern ` flags, and the ` ignorePatterns ` property in
config files.
* **Argument Type** : No argument.
##### ` --... | |
Script_Commands/Script_Commands_6_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/enforce-module-boundaries5_74_0.txt | * ##### documents
* Overview | |
Script_Commands/58660_14_0.txt | Resources
* Learning Pathways
* White papers, Ebooks, Webinars
* Customer Stories
* Partners | |
Script_Commands/enforce-module-boundaries5_56_0.txt | * ##### documents
* Overview | |
Script_Commands/58660_63_0.txt | Sorry, something went wrong.
meeroslav added type: question / discussion and removed type: bug labels
Jun 21, 2021 | |
Script_Commands/Script_Commands_39_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/eslint7_28_0.txt | ESLint is powerful linter by itself, able to work on the syntax of your source
files and assert things about based on the rules you configure. It gets even
more powerful, however, when TypeScript type-checker is layered on top of it
when analyzing TypeScript files, which is something that ` @typescript-eslint
` allows ... | |
Script_Commands/eslint7_8_0.txt | ##### Features
* Run Tasks
* Cache Task Results
* Explore your Workspace
* Generate Code
* Automate Updating Dependencies
* Enforce Module Boundaries
* Manage Releases
* ##### CI Features | |
Script_Commands/Script_Commands_15_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/58660_75_0.txt | All reactions
* 👍 2 reactions
* ❤️ 1 reaction | |
Script_Commands/Script_Commands_22_3.txt | data: {
notBar: node.init.value
},
fix(fixer) {
return fixer.replaceText(node.init, '"bar"');
}
});
... | |
Script_Commands/eslint7_1_0.txt | Search Press ` Ctrl ` and ` K ` to search
Nx Nx Docs | |
Script_Commands/Script_Commands_46_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/Script_Commands_23_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/enforce-module-boundaries5_63_0.txt | ##### generators
* configuration
* init
* convert-to-inferred | |
Script_Commands/Script_Commands_19_2.txt | //eslint.org/chat)
* [ ](https://fosstodon.org/@eslint)
© OpenJS Foundation and ESLint contributors, [ www.openjsf.org
](https://www.openjsf.org) . Content licensed under [ MIT License
](https://github.com/eslint/eslint/blob/main/LICENSE) .
## Theme Switcher
Light Dark
[ Change Language ](/languages/)
Language... | |
Script_Commands/58660_55_0.txt | * ❤️ 1 reaction
Sorry, something went wrong. | |
Script_Commands/enforce-module-boundaries5_61_0.txt | * ##### documents
* Overview | |
Script_Commands/enforce-module-boundaries5_58_0.txt | #### nuxt
* ##### documents | |
Script_Commands/Script_Commands_19_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/58660_104_0.txt | ### Footer navigation
* Terms
* Privacy
* Security
* Status
* Docs
* Contact
* Manage cookies
* Do not share my personal information | |
Script_Commands/Script_Commands_2_3.txt | e' expected a return value.",
"line": 5,
"column": 7,
"nodeType": "ReturnStatement",
"messageId": "missingReturnValue",
"endLine": 5,
"endColumn": 13
},
... | |
Script_Commands/Script_Commands_24_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/Script_Commands_48_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/58660_96_0.txt | github-actions bot added the outdated label Mar 23, 2023
github-actions bot locked as resolved and limited conversation to
collaborators Mar 23, 2023 | |
Script_Commands/58660_13_0.txt | By Solution
* CI/CD & Automation
* DevOps
* DevSecOps | |
Script_Commands/58660_100_0.txt | None yet
Milestone | |
Script_Commands/Script_Commands_27_4.txt | sing this configuration, all JavaScript files define a custom global object
defined called ` MY_CUSTOM_GLOBAL ` while those JavaScript files in the `
tests ` directory have ` it ` and ` describe ` defined as global objects in
addition to ` MY_CUSTOM_GLOBAL ` . For any JavaScript file in the tests
directory, both config... | |
Script_Commands/enforce-module-boundaries5_19_0.txt | * ##### documents
* Overview | |
Script_Commands/58660_39_0.txt | Copy link
### | |
Script_Commands/Script_Commands_13_5.txt | , update your configuration.
**Related issue(s):** [ #16879
](https://github.com/eslint/eslint/issues/16879)
## New checks in ` no-implicit-coercion ` by default
In ESLint v9.0.0, the ` no-implicit-coercion ` rule additionally reports the
following cases by default:
-(-foo);
foo - 0;
... | |
Script_Commands/Script_Commands_45_2.txt | 10
11
12
13
14
15
16
Here, each config object in ` exampleConfigs ` is applied only to files that
match the pattern " ` **/src/safe/*.js" ` .
[ Edit this page ](
https://github.com/eslint/eslint/edit/main/docs/./src/use/configure/combine... | |
Script_Commands/enforce-module-boundaries5_95_0.txt | ##### generators
* init
* application
* static-config | |
Script_Commands/enforce-module-boundaries5_26_0.txt | * ##### documents
* Overview | |
Script_Commands/enforce-module-boundaries5_28_0.txt | ##### generators
* init
* configuration | |
Script_Commands/Script_Commands_8_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/Script_Commands_41_5.txt | has been open for 21 days, as these issues do not have enough support to move forward.
* **Accepted** : Close after 90 days if no one from the team or the community is willing to step forward and own the work to complete to it.
* **Help wanted:** Close after 90 days if it has not been completed.
[ Edit this pa... | |
Script_Commands/enforce-module-boundaries5_42_0.txt | * init
* ci-workflow
#### jest | |
Script_Commands/Script_Commands_2_2.txt |
29,
37
],
"text": "!Number.isNaN(i)"
},
"desc": "Replace with Number.isNaN."
... | |
Script_Commands/enforce-module-boundaries5_21_0.txt | ##### generators
* init
* configuration
* component-configuration
* migrate-to-cypress-11
* convert-to-inferred | |
Script_Commands/enforce-module-boundaries5_83_0.txt | #### storybook
* ##### documents | |
Script_Commands/enforce-module-boundaries5_8_0.txt | ##### executors
* noop
* run-commands
* run-script | |
Script_Commands/enforce-module-boundaries5_114_0.txt | * Documentation
* Community
* StackOverflow
* Report Issues
* Status Page
### Community | |
Script_Commands/eslint7_38_0.txt | On this page
* Overview | |
Script_Commands/Script_Commands_39_2.txt | 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The name ` ".md" ` is no longer valid for a processor, so it must be replaced
with a valid identifier such as ` markdown ` :
const plugin = {
configs:... | |
Script_Commands/Script_Commands_2_10.txt | 518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
... | |
Script_Commands/Script_Commands_25_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/enforce-module-boundaries5_105_0.txt | The ` depConstraints ` is an array of objects representing the constraints
defined between source and target projects. A constraint must include `
sourceTag ` or ` allSourceTags ` . The constraints are applied with AND
logical operation - for given ` source ` project the resulting constraints
would be all that match... | |
Script_Commands/58660_86_0.txt | Copy link
### | |
Script_Commands/Script_Commands_32_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/Script_Commands_54_2.txt | * ` conf ` \- default configuration information
* ` docs ` \- documentation for the project
* ` lib ` \- contains the source code
* ` formatters ` \- all source files defining formatters
* ` rules ` \- all source files defining rules
* ` tests ` \- the main unit test folder
* ` lib ` \- tests fo... | |
Script_Commands/58660_46_0.txt | ` nx report `
@nrwl/angular : 12.3.5
@nrwl/cli : 12.3.5
@nrwl/cypress : 12.3.5
@nrwl/devkit : 12.3.5
@nrwl/eslint-plugin-nx : 12.3.5
@nrwl/express : Not Found
@nrwl/jest : 12.3.5
@nrwl/linter : 12.3.5
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not F... | |
Script_Commands/58660_91_0.txt | Merged
1 task | |
Script_Commands/58660_19_0.txt | Search or jump to...
# Search code, repositories, users, issues, pull requests... | |
Script_Commands/Script_Commands_26_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/Script_Commands_4_3.txt | mport the
plugin and include it in the ` plugins ` key, specifying a namespace. Then,
use that namespace to reference the processor in the ` processor `
configuration, like this:
// eslint.config.js
import example from "eslint-plugin-example";
export default [
{
plugins: ... | |
Script_Commands/Script_Commands_2_6.txt | lProperties": false
},
"CallExpression": {
"type": "object",
"properties": {
"arguments": {
"oneOf":... | |
Script_Commands/eslint7_40_0.txt | Edit this page
Feedback Edit this page | |
Script_Commands/enforce-module-boundaries5_97_0.txt | * Overview
##### executors | |
Script_Commands/58660_52_0.txt | Author
### | |
Script_Commands/58660_10_0.txt | Collaborate outside of code
Explore | |
Script_Commands/Script_Commands_26_2.txt | ://twitter.com/geteslint)
* [ ](https://github.com/eslint/eslint)
* [ ](https://eslint.org/chat)
* [ ](https://fosstodon.org/@eslint)
© OpenJS Foundation and ESLint contributors, [ www.openjsf.org
](https://www.openjsf.org) . Content licensed under [ MIT License
](https://github.com/eslint/eslint/blob/main/LICEN... | |
Script_Commands/Script_Commands_9_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/Script_Commands_4_1.txt | /core-rules)
* [ Governance ](/docs/latest/contribute/governance)
* [ Report a Security Vulnerability ](/docs/latest/contribute/report-security-vulnerability)
* [ Maintain ESLint ](/docs/latest/maintain/)
* [ How ESLint is Maintained ](/docs/latest/maintain/overview)
* [ Manage Issues and Pull Request... | |
Script_Commands/enforce-module-boundaries5_89_0.txt | ##### generators
* init
* configuration
* vitest | |
Script_Commands/Script_Commands_24_4.txt | explain why disabling or
re-enabling the rule is necessary. The description must come after the
configuration and needs to be separated from the configuration by two or more
consecutive ` - ` characters. For example:
// eslint-disable-next-line no-console -- Here's a description about why this configura... | |
Script_Commands/Script_Commands_18_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/58660_68_0.txt | ###
vincentpalita commented Jun 22, 2021 • | |
Script_Commands/58660_88_0.txt | Here is what I'm doing. Copy pasting rules across a bunch of projects was not
an acceptable solution for me. The key for me was not using the file based
overrides and do extends instead. It works great and does exactly what I want
it to do (and not seeing any downsides): A NextJS / React UI project
A config for a No... | |
Script_Commands/enforce-module-boundaries5_5_0.txt | Contact Go to app
Nx CI Extending Nx Plugins API Changelog AI Chat | |
Script_Commands/58660_80_0.txt | Copy link
Contributor | |
Script_Commands/58660_105_0.txt | You can’t perform that action at this time.
| |
Script_Commands/Script_Commands_18_3.txt | nfigData | null ` )
Default is ` null ` . [ Configuration object ](../use/configure/) , overrides
all configurations used with this instance. You can use this option to define
the settings that will be used even if your configuration files configure it.
* ` options.overrideConfigFile ` ( ` string | boolean ` ) ... | |
Script_Commands/enforce-module-boundaries5_102_0.txt | The ` @nx/enforce-module-boundaries ` ESLint rule enables you to define strict
rules for accessing resources between different projects in the repository.
Enforcing strict boundaries helps to prevent unplanned cross-dependencies.
## Usage | |
Script_Commands/Script_Commands_32_3.txt | d code
await ESLint.outputFixes(results);
return results;
}
// Log results to console if there are any problems
function outputLintingResults(results) {
// Identify the number of problems found
const problems = results.reduce(
(acc, result) => acc + result.errorCoun... | |
Script_Commands/enforce-module-boundaries5_48_0.txt | * tsc
* swc
* node
* release-publish
* verdaccio
##### generators | |
Script_Commands/Script_Commands_44_0.txt | Skip to main content
[ ](https://eslint.org)
[ Donate ](/donate)
* [ Team ](/team)
* [ Blog ](/blog)
* [ Docs ](/docs/latest/)
* [ Store ](https://eslint.threadless.com)
* [ Playground ](/play)
[ Versions ](/docs/latest/versions/)
Version Switcher
Selecting a version will take you to the chosen version ... | |
Script_Commands/eslint7_21_0.txt | * Get Started with Nx Release
* Release Projects Independently
* Automatically Version with Conventional Commits
* Configure Custom Registries
* Publish in CI/CD
* Automate GitHub Releases
* Publish Rust Crates
* Update Your Local Registry Setup to use Nx Release
... | |
Script_Commands/58660_17_0.txt | GitHub community articles
Repositories | |
Script_Commands/enforce-module-boundaries5_0_0.txt | Skip to content
Open sidebar API | |
Script_Commands/58660_5_0.txt | Find and fix vulnerabilities
* Codespaces | |
Script_Commands/eslint7_46_0.txt | ### Community
* X
* GitHub
* Newsletter
* Discord
* Help Us | |
Script_Commands/eslint7_43_0.txt | Preferences
Theme | |
Script_Commands/Script_Commands_48_2.txt | ork.
For example, [ @angular-eslint/eslint-plugin
](https://www.npmjs.com/package/@angular-eslint/eslint-plugin) contains best
practices for using the Angular framework.
For more information, refer to [ Configure Plugins ](../configure/plugins) .
## Parsers
An ESLint parser converts code into an abstract syntax tre... | |
Script_Commands/Script_Commands_10_2.txt | 最新)
| |
Script_Commands/Script_Commands_5_5.txt | node: node,
message: "Missing semicolon",
fix(fixer) {
return fixer.insertTextAfter(node, ";");
}
});
1
2
3
4
5
6
7
Here, the ` fix() ` function is used to insert a semicolon after the node.
Note that a fix is not immediat... | |
Script_Commands/eslint7_14_0.txt | * React Native with Nx
* Remix with Nx
* Use Environment Variables in React
* Using Tailwind CSS in React
* Adding Images, Fonts, and Files
* Setup Module Federation with SSR for React
* Deploying Next.js applications to Vercel
* ##### Angular
* ##### Migra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.