Comments (1)
It is not possible to allow or deny some words per selected files.
You can allow/deny words from within files if you like, with comments: https://github.com/get-alex/alex#control.
Config files work the other way around:
- files are found on the file system (for example because you do
alex some/folder/example.md
. - the closest config file is found, if there is one, so that could be
some/folder/.alexrc
orsome/.alexrc
or.alexrc
or even higher. - the contents of that config file could come from anywhere: it could be symlinked, it could be JS that imports some shared rules from node_modules etc
I don’t like the idea of having more globs or file paths inside config files to infinite recurse, and which would prevent sharing config files.
This issue is tracked at unifiedjs/unified-engine#56.
But this allow these words in all files.
Each folder can have its own config file.
Other alternative is using .alexignore file but this will ignore content of whole file and there is also still this issue
I don‘t understand your problems with ignore files. I don’t see why there is an issue there?
from alex.
Related Issues (20)
- why is alex woke HOT 1
- Error [ERR_REQUIRE_ESM]: Must use import to load ES Module when running Alex HOT 2
- Best way to reference in a journal article HOT 2
- Using Alex to check user text in a html input or textarea element HOT 1
- Identify-First Language vs Person-First Language HOT 2
- Update retext-profanities to `^v7.2.1` to allow the contraction of `who are` (who're or who’re)
- Don't warn about special cases HOT 2
- Suggestion: Suggest 'main' as a replacement for 'master' HOT 2
- Why is "bugreport" insensitive? HOT 1
- alex transitively depends on `got` that has a security problem HOT 4
- Expose rule groups like `gender`, `sexuality`, `race`, `religion`... HOT 1
- The word 'remain' is considered profane HOT 2
- Files without file extension are not included for linting HOT 1
- Hidden files started with dot are not included for linting HOT 1
- Violation from URLs should be skipped because URL links cannot be changed HOT 3
- Add support for yaml and json file formats HOT 2
- Why is "failed attempt" considered insensitive and replaced with "suicide attempt"? HOT 13
- False positive on verb 'challenge' HOT 1
- Option to suppress `Cannot process specified file: it’s ignored` error HOT 2
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 alex.