Comments (1)
Try 'object-shorthand': ['error', 'never'],
The first value is the error level of the rule and can be one of these values:
- "off" or 0 - turn the rule off
- "warn" or 1 - turn the rule on as a warning (doesn't affect exit code)
- "error" or 2 - turn the rule on as an error (exit code will be 1)
Source: https://eslint.org/docs/user-guide/getting-started#configuration
from eslint-config.
Related Issues (20)
- No matching configuration found for HOT 3
- How do I keep only the indent rules of prettier or set them to the same effect of prettier using style/indent HOT 10
- Override config cause format conflict
- 覆盖vue/block-order规则后的奇怪现象 HOT 2
- [Feature Request] disable use globals var `__dirname` `__filename` in nodejs esm mode HOT 4
- `stylistic` options miss `OptionsOverrides` type.
- Semi-colons toggle on/off when saving with `ts/member-delimiter-style` HOT 4
- Ignores not work as expected HOT 5
- The `name` prop in the first argument would be omitted in `eslint-flat-config-viewer`. HOT 1
- format/prettier error on windows HOT 4
- Svelte conflicting indentation rule (`svelte/indent` & `style/indent`) HOT 1
- VSCODE_PID is not present in SSH HOT 1
- Using ignores in conjunction with rules leads to both not working HOT 5
- Parsing error: Unexpected token . eslint HOT 2
- What rule should be used to fix multiple whitespaces inside a `class` attribute in Vue components? HOT 4
- Enabling type-aware rules for custom file extensions (e.g. svelte) HOT 4
- Indentation not normalized inside typescript generic type arguments HOT 1
- Extend README to mention different file types for type aware rules HOT 3
- Considering making `npx @antfu/eslint-config@latest` the recommended way to install
- Parsing error with nuxt-module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-config.