Comments (2)
I think that, if you follow Rubocop's suggestion, you'll be able to solve this issue.
There are two styles of making an array of symbols, and the style enforced by Rubocop is the following one:
# instead of:
[:mri, :mingw, :x64_mingw]
# do this, which is the same:
%i[mri mingw x64_mingw]
I have left a screenshot as an example.
from linters-config.
# good
[:foo, :bar, :baz]
# bad
%i[foo bar baz]
https://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Style/SymbolArray
using this %i[mri mingw x64_mingw] i got the same error about mri
from linters-config.
Related Issues (20)
- Please add /dist in line 20 of linters.yml
- Constant : Obsolete linters configuration file
- Ubuntu 18.04 depreciation HOT 1
- Linters config update HOT 1
- Warning: obsolete parameter `IgnoredMethods` in .robocop.yml file
- @-rule issues with plain SASS
- Setup Ruby action deprecation
- Please Update stylelintrc.json to include Tailwind CSS compiled file in 'ignoreFiles' key.
- Should hint linters throw an error on this line?
- Disabling Javascript "Line Break Style" Rule
- Ruby Lintes install
- Warning in rubocop.yml HOT 1
- linters.yml file throws "Lighthouse" error HOT 1
- Remove Template Literal HOT 2
- Linter/Eslint Configuration for React-Redux
- .rubocop.yml HOT 2
- Webhint Error [ERR_REQUIRE_ESM] HOT 4
- HTML & CSS3 Course - please edit
- Issue on npx hint .
- Outdated Ruby linter 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 linters-config.