Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit e3058f5

Browse files
committed
Release 5.0.0
1 parent a094113 commit e3058f5

File tree

4 files changed

+14
-17
lines changed

4 files changed

+14
-17
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @oracle/eslint-config-oraclejet 4.2.0
1+
# @oracle/eslint-config-oraclejet 5.0.0
22

33
This package contains the ESLint configurations used by the Oracle JET project. These configurations come in two flavors:
44

@@ -129,18 +129,6 @@ _ESLint rule change_: [import/no-unresolved](http://eslint.org/docs/rules/import
129129

130130
While we would like to leave this rule enabled, we are currently seeing some false positives triggered by this rule. As such, we are temporarily disabling this while we get to the bottom of the violations. We plan to re-enable this rule in a future version of our eslint-config-oraclejet.
131131

132-
### 3. ES5-specific Deltas
133-
134-
The following changes are specific to the ES5 version of the Oracle JET ESLint configuration, used by the JET runtime (browser-based) code base. Note that our ES5 config is based on the [ES5 version of the Airbnb style guide](https://github.com/airbnb/javascript/tree/es5-deprecated/es5)
135-
136-
#### 3.1 Quoted properties are allowed
137-
138-
_ESLint rule change_: [quote-props](http://eslint.org/docs/rules/import/quote-props) and [dot-notation](http://eslint.org/docs/rules/dot-notation) are disabled.
139-
140-
Like Airbnb, we strongly prefer dot notation over quoting. However, the JET runtime code base uses quoting as a way to ensure that the Closure Compiler does not mangle certain property names. Rather than suppress each of these violations locally each time the quoted property is referenced, we decided to disable these two ESLint rules globally.
141-
142-
We may re-enable both of these rules in the future, and as such encourage the use of dot notation wherever possible.
143-
144132
## [Contributing](https://github.com/oracle/eslint-config-oraclejet/tree/master/CONTRIBUTING.md)
145133
Oracle JET is an open source project. Pull Requests are currently not being accepted. See [CONTRIBUTING](https://github.com/oracle/eslint-config-oraclejet/tree/master/CONTRIBUTING.md) for details.
146134

RELEASENOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Release Notes for eslint-config-oraclejet ##
22

3+
### 5.0.0
4+
* quote-props and dot-notation reverted to defaults for ES5
5+
36
### 4.2.0
47
* No changes
58

es5/base.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,18 @@ module.exports = {
1818
},
1919
"rules": {
2020
"comma-dangle": "off",
21-
"dot-notation": "off",
2221
"func-names": "off",
2322
"linebreak-style": "off",
2423
"no-use-before-define" : ["error", {"functions" : false, "classes" : true}],
2524
"no-plusplus": ["error", {"allowForLoopAfterthoughts": true }],
2625
"no-underscore-dangle": "off",
27-
"quote-props": "off",
26+
"vars-on-top": "off",
27+
"max-len": ['error', 100, 2, {
28+
ignoreUrls: true,
29+
ignoreComments: true,
30+
ignoreRegExpLiterals: true,
31+
ignoreStrings: true,
32+
ignoreTemplateLiterals: true,
33+
}],
2834
}
2935
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oracle/eslint-config-oraclejet",
3-
"version": "4.2.0",
3+
"version": "5.0.0",
44
"license": "UPL-1.0",
55
"description": "JET Coding standards eslint config files",
66
"keywords": [
@@ -24,5 +24,5 @@
2424
"devDependencies": {
2525
"fs-extra": "~2.1.2"
2626
},
27-
"jetdocversion": "420"
27+
"jetdocversion": "500"
2828
}

0 commit comments

Comments
 (0)